@socialgouv/eslint-config-react-strict
Our strict React eslint config.
Install
$ npm install -D @socialgouv/eslint-config-react-strict eslint prettier
# or
$ yarn add -D @socialgouv/eslint-config-react-strict eslint prettier
Usage
You can either:
-
add this to your
.eslintrc.yml
file:extends: - "@socialgouv/eslint-config-react-strict"
-
or add this to your
.eslintrc.json
file:{ "extends": ["@socialgouv/eslint-config-react-strict"] }
-
or add this to your
package.json
file:{ "eslintConfig": { "extends": ["@socialgouv/eslint-config-react-strict"] } }