Skip to main content

🟑 Recommended

Use this preset as the default onboarding path for most projects.

Config key​

etcMisc.configs.recommended;

Flat Config example​

import etcMisc from "eslint-plugin-etc-misc";

export default [etcMisc.configs.recommended];

Rules in this preset​

Adoption guidance​

If you don’t want readonly preference rules yet, start with minimal. Otherwise, start here for a balanced baseline of correctness and maintainability rules. This preset is designed to be a long-term baseline, so it includes some rules that may be initially noisy but are worth fixing early for long-term benefits.

This preset now enables a wider "safe baseline" mix:

  • strong correctness rules as error
  • low-risk style/maintainability rules as warn

Start with this preset, then promote selected warn rules to error as your codebase stabilizes.