-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
57 lines (56 loc) · 2.03 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
47
48
49
50
51
52
53
54
55
56
57
{
"plugins": [
"@typescript-eslint"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"project": "./tsconfig.json",
"tsconfigRootDir": "./",
"createDefaultProgram": true
},
"extends": [
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/no-inferrable-types": "off",
"no-debugger": "off",
"no-console": "off",
"no-multiple-empty-lines": ["error", {"max": 1, "maxBOF": 0}],
"useTabs": "off",
"no-prototype-builtins": "off",
"max-len": ["warn", {"code": 120, "ignoreStrings": true, "ignoreRegExpLiterals": true}],
"space-before-blocks": ["error", "always"],
"space-before-function-paren": ["error", "never"],
"space-in-parens": ["error", "never"],
"block-spacing": ["error", "always"],
"no-empty": ["error", {"allowEmptyCatch": true}],
"keyword-spacing": ["error", {
"overrides": {
"if": {"after": false},
"for": {"after": false},
"while": {"after": false},
"catch": {"after": false},
"switch": {"after": false}
}
}],
"padding-line-between-statements": "off",
"semi": ["error", "always"],
"no-param-reassign": "off",
"no-return-assign": "off",
"no-sequences": "off",
"no-shadow": "off",
"prefer-rest-params": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-empty-function":"off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-this-alias": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"no-var": "off"
}
}