-
Notifications
You must be signed in to change notification settings - Fork 32
/
.eslintrc
46 lines (46 loc) · 1.06 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
{
"env": {
"browser": true,
"jest": true,
"jest/globals": true
},
"extends": "airbnb",
"parser": "babel-eslint",
"plugins": [
"react",
"jest"
],
"rules": {
"consistent-return": 0,
"func-names": 0,
"global-require": 0,
"max-len": 0,
"no-alert": 0,
"no-param-reassign": 0,
"no-plusplus": 0,
"no-shadow": 0,
"no-throw-literal": 0,
"no-underscore-dangle": 0,
"no-unused-vars": ["error", {
"argsIgnorePattern": "_",
"varsIgnorePattern": "_"
}],
"object-curly-newline": 0,
"operator-linebreak": 0,
"prefer-destructuring": ["error", {
"VariableDeclarator": { "array": false, "object": true },
"AssignmentExpression": { "array": false, "object": false }
}],
"react/jsx-one-expression-per-line": 0,
"react/jsx-wrap-multilines": 0,
"react/no-array-index-key": 0,
"react/no-danger": 0,
"react/prop-types": 0,
"no-restricted-properties": [0, {
"object": "Math",
"property": "pow"
}],
"no-bitwise": 0,
"padded-blocks": 0
}
}