-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
48 lines (48 loc) · 1.05 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
{
"parser": "babel-eslint",
"extends": [
"prettier",
"airbnb",
"plugin:jsx-a11y/recommended"
],
"plugins": [
"react",
"prettier",
"jsx-a11y"
],
"env": {
"es6": true,
"node": true,
"browser": true,
"jest": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"arrow-body-style": 0,
"arrow-parens": 0,
"complexity": ["error", {"max": 12}],
"indent": 0,
"object-curly-newline": 0,
"implicit-arrow-linebreak": 0,
"max-statements": ["error", {"max": 100}],
"max-lines": ["error", { "max": 1000 }],
"max-len": 0,
"no-confusing-arrow": 0,
"no-console": 1,
"import/prefer-default-export": 0,
"import/no-extraneous-dependencies": 0,
"quotes": ["error", "single"],
"react/jsx-filename-extension": 0,
"react/destructuring-assignment": 0,
"react/forbid-prop-types": 0,
"semi": ["error", "always"],
"comma-dangle": ["error", "never"],
"operator-linebreak": 0
}
}