-
Notifications
You must be signed in to change notification settings - Fork 160
/
.eslintrc.json
42 lines (42 loc) · 907 Bytes
/
.eslintrc.json
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
{
"root": true,
"extends": [
"plugin:react/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:unicorn/recommended"
],
"ignorePatterns": [
"build/*",
"jest.config.js"
],
"rules": {
"indent": [
"error",
2,
{
"MemberExpression": "off",
"SwitchCase": 1
}
],
"max-len": [
"error",
{
"code": 80,
"comments": 72,
"ignoreUrls": true,
"ignoreRegExpLiterals": true,
"tabWidth": 2
}
],
"import/no-unresolved": "off",
"object-curly-spacing": "off",
"react/prop-types": "off",
"unicorn/consistent-destructuring": "off",
"unicorn/filename-case": "off",
"unicorn/prefer-module": "off",
"unicorn/prefer-query-selector": "off",
"unicorn/prefer-string-replace-all": "off",
"unicorn/prevent-abbreviations": "off"
}
}