-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc
43 lines (43 loc) · 1.27 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
38
39
40
41
42
43
{
"parser": "babel-eslint",
"rules": {
"import/no-extraneous-dependencies": 0,
"class-methods-use-this": 0,
"import/extensions": 0,
"import/no-unresolved": 0,
"yoda": ["error", "always", { "onlyEquality": true }],
"no-underscore-dangle": 0,
"no-use-before-define": ["error", { "functions": false }],
"no-param-reassign": 0,
"react/jsx-filename-extension": 0,
"react/require-default-props": 0,
"react/forbid-prop-types": 0,
"import/prefer-default-export": 0,
"jsx-quotes": ["error", "prefer-double"],
"react/no-unused-state": 0,
"jsx-a11y/anchor-is-valid": [ "error", {
"components": [ "Link" ],
"specialLink": [ "to", "hrefLeft", "hrefRight" ],
"aspects": [ "noHref", "invalidHref", "preferButton" ]
}],
"jsx-a11y/no-autofocus": 0
},
"extends": ["airbnb", "plugin:react/recommended"],
"globals": {
"describe": true,
"it": true,
"expect": true,
"window": true,
"document": true,
"navigator": true,
"fetch": true,
"FormData": true,
"localStorage": true,
"beforeAll": true,
"beforeEach": true,
"jest": true,
"afterEach": true,
"Raven": true,
"Event": true
}
}