forked from HasangerGames/survivreloaded-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
45 lines (45 loc) · 1.5 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
{
"env": {
"node": true,
"es2022": true
},
"extends": [
"plugin:@typescript-eslint/recommended",
"eslint:recommended",
"standard-with-typescript"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/indent": 0,
"@typescript-eslint/semi": [2, "always"],
"@typescript-eslint/quotes": [2, "double", { "avoidEscape": true, "allowTemplateLiterals": true }],
"no-use-before-define": 0,
"no-unused-vars": 0,
"one-var": 0,
"padded-blocks": 0,
"spaced-comment": 0,
"@typescript-eslint/no-use-before-define": 2,
"@typescript-eslint/no-unnecessary-type-assertion": 0,
"@typescript-eslint/no-unused-vars": 2,
"prefer-arrow-callback": 2,
"prefer-template": 0,
"no-new": 0,
"@typescript-eslint/curly": 0,
"@typescript-eslint/keyword-spacing": 0,
"@typescript-eslint/strict-boolean-expressions": 0,
"@typescript-eslint/restrict-template-expressions": 0,
"@typescript-eslint/space-before-function-paren": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-for-in-array": 0,
"@typescript-eslint/no-confusing-void-expression": 0
}
}