-
Notifications
You must be signed in to change notification settings - Fork 33
/
.eslintrc
39 lines (39 loc) · 1.08 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
{
"extends": [
"eslint:recommended"
],
"rules": {
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/explicit-function-return-type": [
"error",
{ "allowExpressions": true }
],
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/no-parameter-properties": "off",
"arrow-parens": ["error", "as-needed"],
"comma-dangle": ["error", {
"arrays": "only-multiline",
"objects": "only-multiline",
"imports": "only-multiline",
"exports": "only-multiline",
"functions": "only-multiline"
}],
"semi": ["error","always"],
"indent": ["error", 2],
"max-len": ["error", { "code": 120 }],
"no-unused-vars": "off",
"no-invalid-this": "error",
"no-param-reassign": ["error", { "props": false }],
"object-curly-spacing": ["error", "always"],
"quotes": ["error", "double"],
"require-jsdoc": "off",
"space-before-function-paren": [
"error",
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}
]
}
}