This repository has been archived by the owner on Sep 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
64 lines (64 loc) · 1.65 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
62
63
64
{
"parser": "babel-eslint",
"extends": "airbnb",
"rules": {
"semi": ["error", "never"],
"generator-star-spacing": [0],
"consistent-return": [0],
"react/forbid-prop-types": [0],
"react/jsx-filename-extension": [
1,
{
"extensions": [".js"]
}
],
"global-require": [1],
"import/prefer-default-export": [0],
"react/jsx-no-bind": [0],
"react/prop-types": [0],
"react/jsx-indent": ["warn", 2],
"react/jsx-indent-props": ["warn", 2],
"react/prefer-stateless-function": [0],
"no-else-return": [0],
"no-restricted-syntax": [0],
"import/no-extraneous-dependencies": [0],
"no-use-before-define": [0],
"jsx-a11y/no-static-element-interactions": [0],
"jsx-a11y/href-no-hash": "off",
"jsx-a11y/anchor-is-valid": "off",
"jsx-a11y/click-events-have-key-events": "off",
"no-nested-ternary": [0],
"no-control-regex": "off",
"arrow-body-style": [0],
"import/extensions": [0],
"no-bitwise": [0],
"no-cond-assign": [0],
"no-await-in-loop": [0],
"import/no-unresolved": [0],
"require-yield": [1],
"class-methods-use-this": "off",
"no-useless-constructor": "off",
"no-underscore-dangle": "off",
"indent": ["warn", 2],
"comma-dangle": ["error", "never"],
"arrow-parens": "off",
"implicit-arrow-linebreak": "off",
"operator-linebreak": "off"
},
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
}
},
"globals": {
"localStorage": true,
"sessionStorage": true,
"window": true,
"navigator": true,
"document": true
},
"env": {
"jest": true
}
}