-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoxlint.shared.json
More file actions
66 lines (59 loc) · 2.06 KB
/
Copy pathoxlint.shared.json
File metadata and controls
66 lines (59 loc) · 2.06 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
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["typescript", "unicorn", "import"],
"categories": {
"correctness": "warn",
"suspicious": "warn",
"pedantic": "off",
"style": "off"
},
"rules": {
"eslint/no-unused-vars": ["warn", {
"args": "all",
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_",
"destructuredArrayIgnorePattern": "^_",
"ignoreRestSiblings": true
}],
"typescript/no-inferrable-types": "warn",
"typescript/no-empty-object-type": "warn",
"typescript/no-useless-empty-export": "warn",
"typescript/no-unnecessary-type-constraint": "warn",
"typescript/no-unnecessary-parameter-property-assignment": "warn",
"unicorn/no-static-only-class": "warn",
"eslint/no-empty-function": "warn",
"eslint/no-console": ["warn", { "allow": ["warn", "error"] }],
"eslint/no-debugger": "warn",
"typescript/no-unnecessary-type-arguments": "warn",
"typescript/no-unnecessary-type-assertion": "warn",
"typescript/no-redundant-type-constituents": "warn",
"typescript/no-unnecessary-boolean-literal-compare": "warn",
"eslint/func-style": "off",
"eslint/no-magic-numbers": "off",
"eslint/require-yield": "off",
"eslint/sort-keys": "off",
"eslint/sort-imports": "off",
"typescript/prefer-readonly-parameter-types": "off",
"import/exports-last": "off",
"import/group-exports": "off",
"import/no-named-export": "off",
"import/prefer-default-export": "off",
"import/consistent-type-specifier-style": "off",
"unicorn/filename-case": "off",
"typescript/no-unsafe-assignment": "off",
"typescript/no-unsafe-return": "off",
"typescript/no-unsafe-member-access": "off",
"eslint/preserve-caught-error": "off",
"eslint/no-duplicate-imports": "off"
},
"overrides": [
{
"files": ["**/*.test.ts", "**/*.spec.ts", "**/test/**", "**/tests/**"],
"rules": {
"eslint/no-console": "off",
"eslint/no-empty-function": "off"
}
}
]
}