-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
36 lines (36 loc) · 958 Bytes
/
.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
{
"parser": "@typescript-eslint/parser",
"extends": ["plugin:@typescript-eslint/recommended"],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"comma-dangle": ["error", "always-multiline"],
"eol-last": ["error", "always"],
"indent": ["error", 2],
"max-len": [
"error",
{
"code": 140,
"tabWidth": 2
}
],
"no-cond-assign": ["error", "always"],
"no-duplicate-case": "error",
"no-param-reassign": "error",
"no-redeclare": "error",
"no-this-before-super": "error",
"no-trailing-spaces": "error",
"semi": ["error", "always"],
"quotes": ["error", "single"],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": 1,
"@typescript-eslint/no-inferrable-types": [
"warn", {
"ignoreParameters": true
}
],
"@typescript-eslint/no-unused-vars": "warn"
}
}