@onr/eslint-config

0.6.5 • Public • Published

onr-eslint-config

Installation

Install onr-eslint-config:

npm install --save-dev @onr/eslint-config

Then, add "@onr" to the "extends" array in your .eslintrc.* file. Make sure to put it last, so it gets the chance to override other configs.

{
  "extends": [
    "some-other-config-you-use",
    "@onr"
  ]
}

That’s it! Extending "@onr" turns off a bunch of core ESLint rules, as well as a few rules from these plugins:

  • [eslint-config-prettier]
  • [eslint-plugin-import]
  • [eslint-plugin-react]
  • [eslint-plugin-react-hook]
  • [eslint-plugin-promise]
  • [@typescript-eslint/eslint-plugin]

Readme

Keywords

none

Package Sidebar

Install

npm i @onr/eslint-config

Weekly Downloads

11

Version

0.6.5

License

ISC

Unpacked Size

10.8 kB

Total Files

14

Last publish

Collaborators

  • l443018
  • koshuang