-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy patheslint.config.mjs
42 lines (41 loc) · 1.16 KB
/
eslint.config.mjs
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
import js from "@eslint/js";
import oclif from "eslint-config-oclif";
import prettier from "eslint-config-prettier";
export default [
{
ignores: [
"dist",
"bin",
"tmp",
"integration-test/dist",
"integration-test/bin",
"**/*.cjs",
],
},
js.configs.recommended,
...oclif,
prettier,
{
files: ["**/*.ts"],
rules: {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-useless-constructor": "error",
"arrow-body-style": "off",
"n/no-process-exit": "off",
"no-useless-constructor": "off",
"object-shorthand": "off",
"perfectionist/sort-classes": "off",
"perfectionist/sort-imports": "off",
"perfectionist/sort-interfaces": "off",
"perfectionist/sort-intersection-types": "off",
"perfectionist/sort-named-imports": "off",
"perfectionist/sort-object-types": "off",
"perfectionist/sort-objects": "off",
"perfectionist/sort-union-types": "off",
"prefer-destructuring": "off",
"unicorn/prefer-event-target": "off",
"unicorn/prefer-string-replace-all": "off",
"unicorn/prefer-top-level-await": "off",
},
},
];