-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
33 lines (33 loc) · 956 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
module.exports = {
env: {
browser: true,
es6: true,
jest: true
},
parserOptions: {
ecmaFeatures: {
experimentalObjectRestSpread: true,
jsx: true
},
sourceType: "module"
},
parser: "babel-eslint",
extends: ["airbnb", "plugin:prettier/recommended"],
rules: {
"react/jsx-filename-extension": [1, { extensions: [".js", ".jsx"] }],
"react/prop-types": false,
"no-param-reassign": [
"error",
{ props: true, ignorePropertyModificationsFor: ["registration"] }
],
"react/forbid-prop-types": [true, { forbid: ["object"] }],
"react/destructuring-assignment": [true, "never"],
"react/jsx-one-expression-per-line": false,
"no-underscore-dangle": 0,
"jsx-a11y/label-has-associated-control": 0,
"consistent-return": 0
},
globals: {
it: false
}
};