Skip to main content

Getting Started

Install the plugin:

npm install --save-dev eslint-plugin-etc-misc

Then enable it in your Flat Config:

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

export default [etcMisc.configs.recommended];
  • Start with etcMisc.configs.minimal if you want to defer readonly-style constraints.
  • Start with etcMisc.configs.recommended.
  • Fix violations in small batches.
  • Move to etcMisc.configs.all when you want every available rule enabled.

Rollout flow

Migration guide

If your project currently uses eslint-plugin-etc and/or eslint-plugin-misc directly, use this migration playbook:

Rule navigation

Use the sidebar Rules section for the full list of rule docs synced from the repository.