-
Notifications
You must be signed in to change notification settings - Fork 14
/
.eslintrc
37 lines (37 loc) · 1.14 KB
/
.eslintrc
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",
"globals": {
"navigator": true,
"window": true,
"document": true,
"Audio": true,
"Image": true,
"fetch": true,
"cancelAnimationFrame": true,
"requestAnimationFrame": true
},
"parser": "babel-eslint",
"rules": {
"no-console": ["error", { "allow": ["error"] }],
"react/jsx-filename-extension": "off",
"import/extensions": "off",
"import/no-named-as-default": "off",
"import/no-named-as-default-member": "off",
"no-underscore-dangle": "off",
"no-new-func": "off",
"no-unused-vars": ["error", { "vars": "all", "args": "after-used", "ignoreRestSiblings": true }],
"no-param-reassign": ["error", { "props": false }],
"no-nested-ternary": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/click-events-have-key-events": "off",
"react/no-danger": "off",
"react/forbid-prop-types": "off",
"no-mixed-operators": "off",
"jsx-a11y/media-has-caption": "off",
"class-methods-use-this": "off",
"no-extra-semi": "error",
"no-unexpected-multiline": "error",
"react/jsx-indent": "off",
"jsx-a11y/label-has-for": "off"
}
}