3.1.0 • Published 5 years ago
@volvo-cars/eslint-config-react v3.1.0
@volvo-cars/eslint-config-react
Code quality rules for react. For more on eslint sharable configs click here.
Requirements
Expects eslint to be installed.
usage
This package expects that you have eslint installed.
// .eslintrc
{
"extends": ["@volvo-cars/eslint-config-react"]
}Development
This package has the react configuration that plays nice with our prettier configs @volvo-cars/prettier.
In case you add/change a rule, make sure that they are code quality rules and not formatting ones. To verify this run
yarn run test. You should get the following message if all is good:
No rules that are unnecessary or conflict with Prettier were found.