-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
34 lines (34 loc) · 1.12 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"no-constant-condition": "off",
"no-useless-catch": 1,
"quotes": ["error", "single"],
"@typescript-eslint/explicit-module-boundary-types": "off",
"semi": ["error", "always"],
"comma-spacing": "error",
"eol-last": "error",
"no-multiple-empty-lines": ["error", { "max": 1 }],
"no-trailing-spaces": "error",
"object-curly-spacing": ["error", "always"],
"array-bracket-spacing": ["error", "always"],
"arrow-spacing": "error",
"keyword-spacing": "error",
"space-before-blocks": "error",
"space-infix-ops": "error",
"space-before-function-paren": ["error", "never"],
"no-console": "error",
"no-debugger": "error"
}
}