-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
97 lines (97 loc) · 1.51 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"extends": [
"standard",
"plugin:jest/recommended"
],
"env": {
"jest": true,
"jest/globals": true,
"es6": true
},
"parser": "typescript-eslint-parser",
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module"
},
"plugins": [
"jest"
],
"rules": {
"arrow-body-style": [
"error",
"as-needed"
],
"comma-dangle": [
2,
"always-multiline"
],
"import/no-extraneous-dependencies": [
"off"
],
"import/extensions": [
"off"
],
"import/no-unresolved": [
"off"
],
"import/first": [
"off"
],
"jest/valid-expect": 1,
"quotes": [
2,
"single"
],
"semi": 1,
"space-infix-ops": 0,
"no-bitwise": [
"error",
{
"allow": [
"~",
"|",
"&",
">>"
]
}
],
"no-console": [
2,
{
"allow": [
"error"
]
}
],
"no-param-reassign": 2,
"no-undef": 2,
"no-use-before-define": [
2,
{
"functions": false
}
],
"no-shadow": 1,
"no-unused-expressions": [
1,
{
"allowShortCircuit": false,
"allowTernary": false
}
],
"no-unused-vars": 1,
"operator-linebreak": [
2,
"before"
],
"indent": 0,
"space-before-function-paren": "off"
},
"globals": {
"it": true,
"describe": true,
"beforeEach": true,
"afterEach": true,
"expect": true
}
}