$ npm install eslint-config-bevry
Bevry's ESLint configuration is an adaptive configuration that automatically configures ESLint based on the following:
eslint-plugin-react
and configures it with its recommended rules and the react version you are usingeslint-plugin-react-hooks
and configures it with its recommended ruleseslint-plugin-typescript
typescript-eslint-parser
eslint-plugin-babel
, then configure ESLint for it
babel-eslint
, then configure ESLint for iteslint-config-prettier
eslint-plugin-prettier
and configures it with its recommended rulesTo make use of it, you must first install it as a development dependency:
npm install --save-dev eslint-config-bevry
Then for full automatic usage, the only ESLint configuration you will need is to add the following to your package.json
file:
{
"eslintConfig": {
"extends": ["bevry"]
}
}
If you would like more control, rather than extending bevry
directly, you can extend the individual parts instead:
bevry/rules
contains the rules for our coding standard, you can use or not use this to your likingbevry/adapt
contains the adaptive configuration, this should be the last extension you applyTo ensure it is working, compare the results of the following command with what you would expect:
npx eslint --print-config .
Discover the release history by heading on over to the HISTORY.md
file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
Unless stated otherwise all works are:
and licensed under:
© 2010 - cnpmjs.org x YWFE | Home | YWFE