-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
49 lines (49 loc) · 1.72 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
{
"extends": [
"oclif",
"oclif-typescript"
],
"rules": {
"array-bracket-spacing": [ "error", "always" ],
"brace-style": "off",
"complexity": "off",
"computed-property-spacing": "off",
"indent": [ "error", 3 ],
"key-spacing": [ "error", { "mode": "minimum" } ],
"lines-between-class-members": [ "error", "always", { "exceptAfterSingleLine": true } ],
"max-depth": "off",
"max-params": "off",
"no-control-regex": "off",
"no-else-return": "off",
"no-multiple-empty-lines": "off",
"no-unreachable": "error",
"no-warning-comments": [ "error", { "terms": [ "~~~", "&&&", "XXX", "TODO", "FIXME" ] } ],
"no-whitespace-before-property": "off",
"object-curly-spacing": [ "error", "always" ],
"operator-linebreak": "off",
"semi": [ "error", "always" ],
"space-before-function-paren": [ "error", {
"anonymous": "never",
"asyncArrow": "always",
"named": "never"
}],
"space-in-parens": "off",
"template-curly-spacing": "off",
"unicorn/better-regex": "off",
"unicorn/catch-error-name": [ "error", { "name": "e" } ],
"unicorn/empty-brace-spaces": off,
"unicorn/explicit-length-check": "off",
"unicorn/filename-case": "off",
"unicorn/no-useless-undefined": "off",
"unicorn/prefer-ternary": "off",
"unicorn/prevent-abbreviations": "off",
"@typescript-eslint/explicit-function-return-type": "error",
"@typescript-eslint/member-delimiter-style": [
"error",
{
"singleline": { "delimiter": "comma", "requireLast": false },
"multiline": { "delimiter": "comma", "requireLast": true }
}
]
}
}