forked from HasangerGames/suroi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
46 lines (46 loc) · 1.49 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
{
"env": {
"es2022": true
},
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:import/typescript",
"eslint:recommended",
"standard-with-typescript"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": [
"tsconfig.json",
"./client/tsconfig.json",
"./client/tsconfig.node.json",
"./common/tsconfig.json",
"./server/tsconfig.json"
]
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"indent": [1, 4, { "SwitchCase": 1 }],
"semi": [1, "always"],
"quotes": [1, "double", "avoid-escape"],
"curly": [1, "multi-line"],
"space-before-function-paren": [2, "never"],
"@typescript-eslint/indent": [1, 4, { "SwitchCase": 1 }],
"@typescript-eslint/semi": [1, "always"],
"@typescript-eslint/quotes": [1, "double", "avoid-escape"],
"@typescript-eslint/space-before-function-paren": [2, "never"],
"no-use-before-define": 0,
"no-unused-vars": 0,
"@typescript-eslint/no-use-before-define": 2,
"@typescript-eslint/no-unused-vars": 2,
"prefer-arrow-callback": 1,
"prefer-template": 1,
"@typescript-eslint/strict-boolean-expressions": 0,
"@typescript-eslint/no-for-in-array": 0,
"@typescript-eslint/no-confusing-void-expression": 0
}
}