-
Notifications
You must be signed in to change notification settings - Fork 292
/
.eslintrc
47 lines (47 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
38
39
40
41
42
43
44
45
46
47
{
"parser": "babel-eslint",
"extends": [
"airbnb"
],
"env": {
"browser": true,
"jest": true
},
"globals": {
"__DEV__": true,
"__PROD__": true,
"__DEBUG__": true,
"__COVERAGE__": true,
"__BASENAME__": true
},
"settings": {
"import/resolver": {
"webpack": {
"config": "webpack.config.js"
}
}
},
"rules": {
"semi": [2, "never"],
"comma-dangle": [2, "always-multiline"],
"max-len": 0,
"no-shadow": 0,
"arrow-body-style": 0,
"global-require": 0,
"no-unused-expressions": 0,
"no-confusing-arrow": 0,
"no-unused-vars": [2, { "ignoreRestSiblings": true }],
"import/no-dynamic-require": 0,
"import/no-extraneous-dependencies": 0,
"import/prefer-default-export": 0,
"react/require-default-props": 0,
"react/forbid-prop-types": 0,
"react/default-props-match-prop-types": 0,
"react/jsx-filename-extension": [2, {"extensions": [".js", ".jsx"]}],
"jsx-a11y/anchor-is-valid": [2, {
"components": ["Link"],
"specialLink": ["hrefLeft", "hrefRight", "to"],
"aspects": ["noHref", "invalidHref", "preferButton"]
}]
}
}