-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
42 lines (42 loc) · 1.01 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
{
"env": {
"browser": true,
"jest": true,
"es6": true
},
"parser": "babel-eslint",
"extends": ["airbnb", "prettier", "prettier/react"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly",
"$": "readonly",
"jQuery": "readonly",
"describe": "readonly",
"expect": "readonly",
"jest": "readonly",
"test": "readonly",
"I18n": "readonly",
"location": "readonly"
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["react"],
"rules": {
"no-shadow": 0,
"no-underscore-dangle": ["error", { "allow": ["__html"] }],
"prefer-destructuring": 0,
"camelcase": "warn",
"react/jsx-boolean-value": [1, "always"],
"react/no-array-index-key": "warn",
"react/state-in-constructor": "warn",
"react/destructuring-assignment": 0,
"react/jsx-props-no-spreading": 0,
"jsx-a11y/click-events-have-key-events": 0,
"import/extensions": "warn"
}
}