-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
37 lines (37 loc) · 1.06 KB
/
.eslintrc
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
{
"root": true,
"env": {
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"rules": {
"@typescript-eslint/no-explicit-any": ["off"],
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/consistent-type-definitions": [1, "type"],
"array-bracket-spacing": [2, "never"],
"block-scoped-var": 0,
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"comma-dangle": [2, "never"],
"comma-spacing": [2, { "before": false, "after": true }],
"comma-style": [2, "last"],
"computed-property-spacing": [2,"never"],
"eol-last": 2,
"eqeqeq": [2, "allow-null"],
"no-duplicate-case": 2,
"no-eval": 1,
"no-extra-semi": 2,
"no-irregular-whitespace": 2,
"no-trailing-spaces": 1,
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 1 }]
}
}