-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
37 lines (37 loc) · 1.18 KB
/
.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
34
35
36
37
module.exports = {
"extends": "airbnb",
"env": {
"browser": true,
"node": true,
"es6": true,
"jest": true,
},
"rules": {
"import/no-extraneous-dependencies": [
"error", {
"devDependencies": false,
"optionalDependencies": false,
"peerDependencies": false,
"packageDir": "./"
}],
"import/no-named-as-default": 0,
"jsx-a11y/anchor-is-valid": [0],
"max-len": [1, 3000, 2, {ignoreComments: true}],
"no-param-reassign": [
"error", {
"props": true,
"ignorePropertyModificationsFor": ["dataRow", "request"] }],
"prefer-destructuring": [1, {
"array": false,
"object": false
}],
"react/destructuring-assignment": ["always", { "ignoreClassFields": true }],
"react/forbid-prop-types": [0],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/no-did-update-set-state": 0,
"react/prefer-stateless-function": [
1, { "ignorePureComponents": false }],
"react/require-default-props": [0, { forbidDefaultForRequired: true }],
},
"parser": "babel-eslint",
};