-
-
Notifications
You must be signed in to change notification settings - Fork 670
Expand file tree
/
Copy path.oxlintrc.json
More file actions
89 lines (89 loc) · 2.13 KB
/
.oxlintrc.json
File metadata and controls
89 lines (89 loc) · 2.13 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
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"categories": {
"correctness": "off",
"suspicious": "off",
"pedantic": "off",
"perf": "off",
"style": "off",
"restriction": "off",
"nursery": "off"
},
"plugins": [
"typescript",
"import",
"react",
"jsx-a11y",
"vitest",
"jest",
"oxc"
],
"rules": {
"eslint/no-unused-vars": "off",
"eslint/no-shadow": "off",
"eslint/no-new": "off",
"eslint/no-unneeded-ternary": "off",
"eslint/no-useless-escape": "off",
"eslint/no-useless-catch": "off",
"eslint/no-async-promise-executor": "off",
"eslint/no-eval": "off",
"eslint/no-unused-expressions": "off",
"eslint/no-unsafe-optional-chaining": "off",
"eslint/no-extra-boolean-cast": "off",
"eslint/preserve-caught-error": "off",
"import/no-unassigned-import": "off",
"import/no-named-as-default-member": "off",
"jest/no-conditional-expect": "off",
"jest/require-to-throw-message": "off",
"jest/valid-title": "off",
"oxc/no-async-endpoint-handlers": "off",
"react/react-in-jsx-scope": "off",
"react-hooks/exhaustive-deps": "off",
"jsx-a11y/lang": "off",
"jsx-a11y/html-has-lang": "off",
"jsx-a11y/prefer-tag-over-role": "off",
"typescript-eslint/no-extraneous-class": "off",
"jest/no-disabled-tests": "off"
},
"ignorePatterns": [
"**/node_modules/**",
"**/dist/**",
"**/.output/**",
"**/.turbo/**",
"**/.docusaurus/**",
"**/build/**",
"**/*.gen.ts",
"packages/orchestrator/tests/**"
],
"overrides": [
{
"files": [
"apps/dashboard/src/**/*.{ts,tsx}",
"apps/orchestrator-dashboard/src/**/*.{ts,tsx}",
"apps/docs/src/**/*.{ts,tsx}"
],
"plugins": [
"typescript",
"import",
"react",
"jsx-a11y",
"oxc"
]
},
{
"files": [
"**/*.{test,spec}.{ts,tsx,js,jsx}",
"**/__tests__/**/*.{ts,tsx,js,jsx}"
],
"plugins": [
"typescript",
"import",
"vitest",
"oxc"
],
"env": {
"node": true
}
}
]
}