-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
109 lines (109 loc) · 1.96 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
98
99
100
101
102
103
104
105
106
107
108
109
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"prettier",
"@typescript-eslint"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"env": {
"es6": true,
"node": true,
"webextensions": true,
"jest": true,
"browser": true
},
"rules": {
"camelcase": 0,
"comma-dangle": 0,
"comma-style": [
2,
"last"
],
"consistent-return": 0,
"curly": [
2,
"all"
],
"dot-notation": 0,
"eol-last": 2,
"eqeqeq": [
2,
"allow-null"
],
"global-strict": 0,
"handle-callback-err": 1,
"indent": [
0,
2,
{
"SwitchCase": 1
}
],
"jsx-a11y/label-has-associated-control": "off",
"key-spacing": 0,
"keyword-spacing": 2,
"new-cap": 0,
"no-cond-assign": [
2,
"except-parens"
],
"no-debugger": 2,
"no-empty": 0,
"no-eval": 2,
"no-irregular-whitespace": 2,
"no-loop-func": 0,
"no-multi-spaces": 0,
"no-multiple-empty-lines": [
2,
{
"max": 2
}
],
"no-process-exit": 0,
"no-script-url": 2,
"no-sequences": 2,
"no-shadow": 0,
"no-spaced-func": 0,
"no-trailing-spaces": 2,
"no-undef": 0,
"no-underscore-dangle": 0,
"no-with": 2,
"prefer-const": [
2,
{
"destructuring": "any",
"ignoreReadBeforeAssign": false
}
],
"quotes": [
2,
"single",
"avoid-escape"
],
"semi": [
2,
"always"
],
"space-unary-ops": [
2,
{
"words": false
}
],
"strict": 0,
"valid-typeof": 2,
"wrap-iife": 0,
"yoda": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/no-explicit-any": 0
}
}