This repository was archived by the owner on Jul 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy patheslint.config.js
More file actions
96 lines (95 loc) · 2.36 KB
/
eslint.config.js
File metadata and controls
96 lines (95 loc) · 2.36 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
import { common, modules, node, extend, stylistic, ignores, typescript } from "@hazmi35/eslint-config";
export default [
...extend(common, [
{
rule: "id-length",
option: ["off"]
},
{
rule: "no-return-assign",
option: ["off"]
},
{
rule: "new-cap",
option: ["off"]
},
{
rule: "no-await-in-loop",
option: ["off"]
},
{
rule: "unicorn/custom-error-definition",
option: ["off"]
},
{
rule: "tsdoc/syntax",
option: ["off"]
},
{
rule: "stylistic/max-len",
option: ["off"]
},
{
rule: "promise/prefer-await-to-callbacks",
option: ["off"]
},
{
rule: "unicorn/no-object-as-default-parameter",
option: ["off"]
}
]),
...modules,
...node,
...stylistic,
...extend(typescript, [
{
rule: "@typescript-eslint/no-unnecessary-condition",
option: ["off"]
},
{
rule: "@typescript-eslint/no-unsafe-declaration-merging",
option: ["off"]
},
{
rule: "@typescript-eslint/no-base-to-string",
option: ["off"]
},
{
rule: "@typescript-eslint/naming-convention",
option: ["off"]
},
{
rule: "@typescript-eslint/no-unsafe-assignment",
option: ["off"]
},
{
rule: "@typescript-eslint/class-literal-property-style",
option: ["off"]
},
{
rule: "@typescript-eslint/no-unsafe-return",
option: ["off"]
},
{
rule: "@typescript-eslint/no-confusing-void-expression",
option: ["off"]
},
{
rule: "@typescript-eslint/no-unsafe-call",
option: ["off"]
},
{
rule: "@typescript-eslint/no-unsafe-member-access",
option: ["off"]
},
{
rule: "@typescript-eslint/strict-boolean-expressions",
option: ["off"]
},
{
rule: "@typescript-eslint/consistent-type-definitions",
option: ["off"]
}
]),
...ignores
];