-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc.json
More file actions
37 lines (37 loc) · 1.07 KB
/
.eslintrc.json
File metadata and controls
37 lines (37 loc) · 1.07 KB
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
{
"extends": [
"airbnb"
],
"env": {
"browser": true,
"jasmine": true
},
"rules": {
"react/jsx-filename-extension": [1, {"extensions": [".js"]}],
"comma-dangle": ["error", {
"functions": "ignore"
}],
"jsx-a11y/anchor-is-valid": [ "error", {
"components": [ "Link" ],
"specialLink": [ "to" ]
}],
"object-curly-newline": ["error", {
"ObjectPattern": { "multiline": true, "minProperties": 8, "consistent": true },
"ImportDeclaration": { "multiline": true, "minProperties": 6, "consistent": true },
"ExportDeclaration": { "multiline": true, "minProperties": 3 }
}],
"no-underscore-dangle": ["error", {
"allow": ["_id"]
}],
"react/forbid-prop-types": 0,
"react/prop-types": 0,
"react/no-did-mount-set-state": 0,
"react/no-danger": 0,
"jsx-a11y/no-noninteractive-element-interactions": 0,
"jsx-a11y/click-events-have-key-events": 0,
"class-methods-use-this": 0,
"react/no-did-update-set-state": 0,
"max-len": 0,
"react/jsx-one-expression-per-line": 0
}
}