Wondering what’s next for npm?Check out our public roadmap! »

@rajzik/config-eslint
TypeScript icon, indicating that this package has built-in type declarations

4.2.6 • Public • Published

ESLint Config

Factory functions for creating preset ESLint configurations. Primarily used in unison with the Lumos CLI.

Extending config

Update package.json:

{
  "lumos": {
    "eslint": {
      "rules": {
        "react-hooks/exhaustive-deps": "off"
      }
    }
  }
}

Create file in configs folder:

configs/eslint.js

modules.exports = {
  rules: {
    'react-hooks/exhaustive-deps': 'off',
  },
};

Settings

Main settings

export interface ESLintOptions {
  next?: boolean;
  node?: boolean;
  prettier?: boolean;
  typescript?: boolean;
}

Default values

{
  next = false,
  node = false,
  prettier = false,
  typescript = false,
}

Beemo/eslint

Install

npm i @rajzik/config-eslint

DownloadsWeekly Downloads

33

Version

4.2.6

License

MIT

Unpacked Size

374 kB

Total Files

38

Last publish

Collaborators

  • avatar