-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
38 lines (38 loc) · 1.01 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
38
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
//"indent": ["error", 4],
"quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": true }],
"semi": ["error", "always"],
"keyword-spacing": "error",
"semi-spacing": "error",
"comma-spacing": "error",
"arrow-spacing": "error",
"key-spacing": "error",
"computed-property-spacing": "error",
"func-call-spacing": "error",
"object-curly-spacing": ["error", "always"],
"space-before-function-paren": ["error", {"anonymous": "always", "named": "never", "asyncArrow": "always"}],
"array-bracket-spacing": "error",
"generator-star-spacing": "error"
},
"overrides": [
{
"files": [
"*.ts"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off"
}
}
]
}