-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
105 lines (105 loc) · 3.36 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
{
"parserOptions": {
"ecmaVersion": 8,
"ecmaFeatures": {
},
"sourceType": "module",
"plugins": [
"import"
]
},
"env": {
"es6": true
},
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings"
],
"rules": {
"quotes": ["error", "single"],
"semi": "error",
"no-console": "warn",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
"no-extra-semi": "error",
"no-invalid-regexp": "error",
"no-irregular-whitespace": "error",
"no-unreachable": "warn",
"no-unsafe-finally": "warn",
"use-isnan": "error",
"valid-typeof": "error",
"class-methods-use-this": "error",
"curly": "error",
"dot-notation": "error",
"eqeqeq": "warn",
"no-eval": "error",
"no-extend-native": "error",
"no-extra-bind": "error",
"no-fallthrough": "warn",
"no-global-assign": "error",
"no-implicit-globals": "error",
"no-implied-eval": "error",
"no-invalid-this": "error",
"no-magic-numbers": "warn",
"no-redeclare": "error",
"no-return-assign": "error",
"no-return-await": "error",
"no-script-url": "error",
"no-self-assign": "error",
"no-self-compare": "error",
"no-throw-literal": "error",
"no-unmodified-loop-condition": "warn",
"no-unused-expressions": "warn",
"no-unused-labels": "error",
"no-useless-call": "error",
"no-useless-catch": "error",
"no-useless-concat": "warn",
"no-useless-escape": "error",
"no-useless-return": "error",
"no-void": "error",
"no-with": "error",
"radix": "error",
"require-await": "error",
"require-unicode-regexp": "error",
"vars-on-top": "error",
"strict": ["error", "global"],
"init-declarations": "error",
"no-label-var": "error",
"no-shadow": "warn",
"no-shadow-restricted-names": "error",
"no-undef": "error",
"no-unused-vars": "error",
"no-use-before-define": "error",
"no-buffer-constructor": "error",
"no-path-concat": "error",
"no-sync": "warn",
"eol-last": "error",
"indent": ["error", 4, {"SwitchCase": 1}],
"no-const-assign": "error",
"no-dupe-class-members": "error",
"no-duplicate-imports": "error",
"no-var": "error",
"prefer-arrow-callback": "error",
"prefer-const": "error",
"import/no-unresolved": "error",
"import/named": "error",
"import/default": "error",
"import/no-absolute-path": "error",
"import/no-self-import": "error",
"import/no-cycle": "error",
"import/no-useless-path-segments": "error",
"import/no-unused-modules": "error",
"import/export": "error",
"import/no-deprecated": "error",
"import/no-commonjs": "error",
"import/no-amd": "error",
"import/first": "error",
"import/no-duplicates": "error",
"import/no-namespace": "error",
"import/extensions": "error",
"import/newline-after-import": "error",
"import/prefer-default-export": "error",
"import/no-unassigned-import": "error"
}
}