forked from hyperjumptech/monika
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
46 lines (46 loc) · 1.71 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
{
"extends": ["oclif", "oclif-typescript", "prettier"],
"rules": {
"@typescript-eslint/no-explicit-any": "warn",
"arrow-body-style": "warn",
"no-bitwise": "warn",
"no-constant-binary-expression": "warn",
"no-restricted-imports": "warn",
"no-use-before-define": ["warn", "nofunc"],
"object-shorthand": "warn",
"perfectionist/sort-classes": "off",
"perfectionist/sort-enums": "off",
"perfectionist/sort-imports": "off",
"perfectionist/sort-interfaces": "off",
"perfectionist/sort-named-exports": "off",
"perfectionist/sort-named-imports": "off",
"perfectionist/sort-object-types": "off",
"perfectionist/sort-objects": "off",
"perfectionist/sort-union-types": "off",
"prefer-arrow-callback": "warn",
"prefer-destructuring": "warn",
"prefer-object-has-own": "warn",
"unicorn/no-await-expression-member": "warn",
"unicorn/no-empty-file": "warn",
"unicorn/no-useless-promise-resolve-reject": "warn",
"unicorn/prefer-at": "warn",
"unicorn/prefer-code-point": "warn",
"unicorn/prefer-event-target": "warn",
"unicorn/prefer-export-from": "warn",
"unicorn/prefer-logical-operator-over-ternary": "warn",
"unicorn/prefer-node-protocol": "off",
"unicorn/prefer-top-level-await": "warn",
"unicorn/switch-case-braces": "warn",
"unicorn/text-encoding-identifier-case": "warn"
},
"overrides": [
{
"files": ["docs/**/*.js"],
"rules": {
"unicorn/filename-case": "off"
}
}
],
"env": {"node": true},
"ignorePatterns": ["*.d.ts"]
}