This repository has been archived by the owner on Jul 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
48 lines (48 loc) · 1.48 KB
/
.eslintrc.json
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
{
"env": {
"es6": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"comma-dangle": "warn",
"comma-spacing": "warn",
"comma-style": "warn",
"func-call-spacing": "warn",
"no-whitespace-before-property": "warn",
"no-multi-spaces": "warn",
"space-in-parens": "warn",
"spaced-comment": "warn",
"arrow-parens": "warn",
"no-var": "error",
"prefer-const": "warn",
"prefer-destructuring": "warn",
"prefer-template": "warn",
"prefer-rest-params": "warn",
"rest-spread-spacing": "warn",
"template-curly-spacing": "warn",
"prefer-arrow-callback": "warn",
"object-shorthand": "warn",
"no-useless-rename": "warn",
"no-useless-computed-key": "warn",
"no-duplicate-imports": "warn",
"no-duplicate-case": "warn",
"block-spacing": "warn",
"brace-style": "warn",
"camelcase": "warn",
"computed-property-spacing": "warn",
"eol-last": "warn",
"function-call-argument-newline": ["warn", "consistent"]
}
}