-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
41 lines (41 loc) · 1.59 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
{
"extends": ["oclif", "oclif-typescript", "prettier"],
"rules": {
"no-warning-comments": "off",
"no-process-exit": "off",
"no-use-before-define": ["warn", "nofunc"],
"@typescript-eslint/no-use-before-define": "off",
"unicorn/prefer-node-protocol": "off",
"unicorn/no-lonely-if": "warn",
"padding-line-between-statements": "warn",
"unicorn/no-array-reduce": "warn",
"unicorn/no-array-for-each": "warn",
"unicorn/prefer-ternary": "warn",
"dot-notation": "warn",
"unicorn/no-array-callback-reference": "warn",
"camelcase": "warn",
"unicorn/numeric-separators-style": "warn",
"unicorn/prefer-optional-catch-binding": "warn",
"unicorn/consistent-destructuring": "warn",
"unicorn/prefer-includes": "warn",
"node/no-extraneous-import": "warn",
"unicorn/prefer-spread": "warn",
"unicorn/consistent-function-scoping": "warn",
"unicorn/no-for-loop": "warn",
"unicorn/import-style": "warn",
"@typescript-eslint/ban-types": "warn",
"unicorn/no-useless-undefined": "warn",
"no-unsafe-optional-chaining": "warn",
"unicorn/prefer-array-index-of": "warn",
"unicorn/prefer-number-properties": "warn",
"unicorn/catch-error-name": "warn",
"unicorn/prefer-date-now": "warn",
"default-param-last": "warn",
"unicorn/prefer-set-has": "warn",
"unicorn/no-process-exit": "warn",
"unicorn/prefer-switch": "warn",
"unicorn/prefer-string-slice": "warn",
"no-useless-catch": "warn",
"unicorn/prefer-object-from-entries": "warn"
}
}