-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
36 lines (36 loc) · 1.08 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
{
"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": {
"indent": ["error", 4, { "SwitchCase": 1 }],
"semi": [2, "always"],
"quotes": [2, "backtick", "avoid-escape"],
"@typescript-eslint/indent": ["error", 4, { "SwitchCase": 1 }],
"@typescript-eslint/semi": [2, "always"],
"@typescript-eslint/quotes": [2, "backtick", "avoid-escape"],
"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": 2,
"prefer-template": 2,
"@typescript-eslint/curly": 0,
"@typescript-eslint/no-for-in-array": 0
}
}