forked from mrbqble/nf-hw-backend-4
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
88 lines (88 loc) · 2.52 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
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
{
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:prettier/recommended",
"prettier"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "**/tsconfig.json"
},
"plugins": ["@typescript-eslint", "prettier", "import"],
"rules": {
"@typescript-eslint/await-thenable": 1,
"@typescript-eslint/no-empty-function": 1,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-floating-promises": 1,
"@typescript-eslint/no-misused-promises": 0,
"@typescript-eslint/no-unsafe-argument": 0,
"@typescript-eslint/no-unsafe-assignment": 0,
"@typescript-eslint/no-unsafe-call": 0,
"@typescript-eslint/no-unsafe-member-access": 0,
"@typescript-eslint/no-unsafe-return": 0,
"@typescript-eslint/no-unused-vars": 1,
"@typescript-eslint/require-await": 1,
"@typescript-eslint/restrict-plus-operands": 1,
"@typescript-eslint/restrict-template-expressions": 1,
"array-callback-return": 1,
"class-methods-use-this": 0,
"consistent-return": 1,
"eqeqeq": 2,
"global-require": 1,
"guard-for-in": 1,
"import/no-extraneous-dependencies": 2,
"new-cap": 0,
"no-await-in-loop": 2,
"no-case-declarations": 1,
"no-cond-assign": 2,
"no-const-assign": 1,
"no-continue": 1,
"no-dupe-keys": 2,
"no-else-return": 2,
"no-empty": 2,
"no-extra-boolean-cast": 2,
"no-extra-semi": 2,
"no-loop-func": 1,
"no-nested-ternary": 0,
"no-param-reassign": 0,
"no-plusplus": 0,
"no-prototype-builtins": 2,
"no-restricted-globals": 2,
"no-restricted-syntax": 0,
"no-return-assign": 1,
"no-shadow": 1,
"no-underscore-dangle": 0,
"no-unreachable-loop": 2,
"no-unsafe-optional-chaining": 1,
"no-unused-expressions": 1,
"no-use-before-define": 2,
"no-useless-escape": 2,
"operator-assignment": 2,
"prefer-arrow-callback": 1,
"prefer-const": 2,
"prefer-destructuring": 1,
"prefer-spread": 2,
"prefer-template": 2,
"radix": 2,
"spaced-comment": 0,
"import/order": [
"error",
{
"groups": [
["builtin", "external"],
["parent", "sibling", "index"],
"internal"
],
"newlines-between": "always",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
]
}
}