-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
62 lines (62 loc) · 1.66 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
54
55
56
57
58
59
60
61
62
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:all",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/no-unnecessary-qualifier": "error",
"@typescript-eslint/no-unnecessary-type-assertion": "error",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_"
}
],
"@typescript-eslint/member-ordering": ["error"],
"linebreak-style": ["error"],
"no-useless-constructor": "off",
"@typescript-eslint/no-useless-constructor": "error",
"sort-imports": "off",
"func-style": "off",
"no-magic-numbers": "off",
"id-length": "off",
"one-var": "off",
"no-ternary": "off",
"no-use-before-define": "off",
"max-params": "off",
"no-plusplus": "off",
"class-methods-use-this": "off",
"max-classes-per-file": "off",
"multiline-comment-style": "off",
"capitalized-comments": "off",
"no-continue": "off",
"no-loop-func": "off",
//"max-statements": ["error", 25],
"max-statements": "off",
"max-lines-per-function": "off",
"require-unicode-regexp": "off",
"sort-keys": "off",
"prefer-named-capture-group": "off",
"no-shadow": "off",
"no-warning-comments": "off",
"line-comment-position": "off",
"no-inline-comments": "off",
"no-eval": "off",
"consistent-return": "off",
"default-case": "off",
"prefer-regex-literals": "off",
"max-lines": "off"
}
}