-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc
46 lines (46 loc) · 1.39 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
39
40
41
42
43
44
45
46
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"rules": {
"array-bracket-spacing": [1, "never"],
"arrow-spacing": 1,
"brace-style": [1, "1tbs", {"allowSingleLine": true}],
"camelcase": 1,
"comma-dangle": [1, "always-multiline"],
"comma-spacing": 1,
"eol-last": 2,
"indent": [1, 2, {"MemberExpression": 0}],
"key-spacing": 1,
"keyword-spacing": 1,
"no-lonely-if": 2,
"no-multiple-empty-lines": [2, {"max": 2, "maxBOF": 0, "maxEOF": 0}],
"no-negated-condition": 2,
"no-trailing-spaces": 1,
"no-unneeded-ternary": 2,
"no-whitespace-before-property": 2,
"one-var-declaration-per-line": 2,
"semi": [1, "always", {"omitLastInOneLineBlock": true}],
"semi-spacing": 1,
"semi-style": 1,
"space-before-blocks": [1, "always"],
"space-before-function-paren": [1, "never"],
"space-in-parens": [1, "never"],
"space-unary-ops": 1,
"spaced-comment": 1,
"@typescript-eslint/explicit-module-boundary-types": 1,
"@typescript-eslint/no-unsafe-member-access": 1,
"@typescript-eslint/no-explicit-any": 1,
"@typescript-eslint/no-unused-expressions": 1
}
}