JSPM

eslint-plugin-no-brian

0.0.1
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 8
    • Score
      100M100P100Q35505F
    • License MIT

    ESLint plugin that removes 'Brian' from your code.

    Package Exports

    • eslint-plugin-no-brian

    Readme

    eslint-plugin-no-brian

    ESLint plugin that flags all instances of "Brian" in your code.

    ESLint Plugin No Brian in action

    Installation

    npm i -D eslint-plugin-no-brian

    Usage

    // eslint.config.js
    
    import { defineConfig, globalIgnores } from "eslint/config";
    import noBrian from "eslint-plugin-no-brian";
    
    const eslintConfig = defineConfig([
      noBrian.configs.recommended,
      globalIgnores([
        // Ignore the config file to avoid self-reference
        "eslint.config.*",
      ]),
    ]);
    
    export default eslintConfig;

    Commands

    Run ESLint

    Run ESLint on your codebase.

    eslint .

    Run ESLint with Fix

    Remove all instances of "Brian" from your code.

    eslint . --fix

    Custom configuration

    {
      rules: {
        'no-brian/no-invalid-strings': ['error', ['Brian', 'brian', 'other-name']]
      }
    }

    License

    MIT