Skip to content

Quick Start

Terminal window
ni -D @pobammer-ts/eslint-cease-nonsense-rules
  1. Add the plugin to your ESLint flat config

    import ceaseNonsense from "@pobammer-ts/eslint-cease-nonsense-rules";
    export default [
    ceaseNonsense.configs.recommended,
    // ... your other configs
    ];
  2. Run ESLint

    Terminal window
    nlx eslint .

The recommended config turns on every rule with sensible defaults. Most rules default to warn. A smaller set that almost always means a real bug defaults to error.

To enable only some categories, change severities, or turn individual rules off, see the Configuration guide.