-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
55 lines (55 loc) · 1.22 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
48
49
50
51
52
53
54
55
{
"env": {
"browser": true,
"commonjs": true,
"es6": true
},
"parser": "babel-eslint",
"extends": "airbnb",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": [
"react",
"babel"
],
"globals": {
"hljs": false
},
"rules": {
"indent": [2, 2, {"SwitchCase": 1, "ignoredNodes": ["ConditionalExpression"]}],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
],
"no-param-reassign": 0,
"prefer-destructuring": 0,
"global-require": 0,
"no-useless-constructor": 0,
"import/no-dynamic-require": 0,
"import/no-unresolved": 0,
"import/extensions": 0,
"react/no-array-index-key": 0,
"react/no-danger": 0,
"react/no-string-refs": 0,
"react/forbid-prop-types": 0,
"react/prop-types": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"jsx-a11y/anchor-is-valid": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/no-noninteractive-element-interactions": 0
}
}