-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
53 lines (53 loc) · 1.53 KB
/
.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
43
44
45
46
47
48
49
50
51
52
53
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"block-scoped-var": "error",
"default-param-last": 0,
"getter-return": "error",
"grouped-accessor-pairs": "warn",
"max-params": ["error", 4],
"new-cap": "warn",
"no-alert": "error",
"no-case-declarations": "warn",
"no-class-assign": "error",
"no-cond-assign": 0,
"no-console": "warn",
"no-const-assign": "error",
"no-constructor-return": "error",
"no-dupe-args": "error",
"no-duplicate-imports": "warn",
"no-eq-null": "warn",
"no-eval": "error",
"no-extend-native": "error",
"no-implied-eval": "error",
"no-invalid-this": "error",
"no-mixed-operators": 0,
"no-multi-assign": "error",
"no-multi-str": "error",
"no-template-curly-in-string": "warn",
"no-unused-vars": "off",
"prefer-template": 0,
"prefer-const": 0,
"no-ex-assign": "error",
"spaced-comment": [
"warn",
"always",
{
"markers": ["/"]
}
],
"camelcase": "error",
"eqeqeq": "error",
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/ban-types": 0,
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/no-unused-vars": 0
}
}