-
Notifications
You must be signed in to change notification settings - Fork 10
/
.eslintrc
61 lines (61 loc) · 1.6 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
56
57
58
59
60
61
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"extends": "airbnb",
"plugins": [
"react"
],
"rules": {
"arrow-parens": 0,
"camelcase": 0,
"class-methods-use-this": 0,
"comma-dangle": 0,
"default-case": 0,
"func-names": 0,
"indent": [2, 2, { "SwitchCase": 1 }],
"jsx-a11y/anchor-has-content": 0,
"jsx-a11y/anchor-is-valid": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/label-has-associated-control": 0,
"jsx-a11y/label-has-for": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-quotes": 0,
"key-spacing": 0,
"lines-between-class-members": 0,
"max-len": ["error", { "code": 140, "comments": 140 }],
"no-class-assign": 0,
"no-else-return": 0,
"no-fallthrough": 0,
"no-irregular-whitespace": ["error", { "skipRegExps": true }],
"no-multi-spaces": 0,
"no-var": 1,
"object-curly-newline": 0,
"prefer-destructuring": ["error", { "object": true, "array": false }],
"quotes": 0,
"react/destructuring-assignment": 0,
"react/jsx-filename-extension": 0,
"react/jsx-one-expression-per-line": 0,
"react/jsx-props-no-multi-spaces": 0,
"react/no-array-index-key": 0,
"react/no-multi-comp": 0,
"react/prefer-stateless-function": 0,
"react/prop-types": 0,
"react/self-closing-comp": 0,
"semi": 0,
"space-before-function-paren": 0
},
"globals": {
"window": true,
"$": true,
"before": true,
"describe": true,
"expect": true,
"it": true
}
}