-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.oxlintrc.json
More file actions
30 lines (30 loc) · 925 Bytes
/
Copy path.oxlintrc.json
File metadata and controls
30 lines (30 loc) · 925 Bytes
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
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["typescript", "react", "react-perf", "jsx-a11y", "import", "tailwindcss"],
"categories": {
"correctness": "error",
"suspicious": "warn",
"perf": "warn",
"style": "off"
},
"rules": {
"no-console": ["warn", { "allow": ["warn", "error"] }],
"no-debugger": "error",
"react/jsx-key": "error",
"react/no-array-index-key": "warn",
"react-perf/jsx-no-new-object-as-prop": "warn",
"react-perf/jsx-no-new-array-as-prop": "warn",
"tailwindcss/no-unknown-classes": "error",
"tailwindcss/no-conflicting-classes": "error",
"tailwindcss/no-deprecated-classes": "warn",
"tailwindcss/enforce-sort-order": "warn",
"tailwindcss/no-unnecessary-arbitrary-value": "warn"
},
"ignorePatterns": [
"dist",
"node_modules",
"src/routeTree.gen.ts",
"*.config.js",
"*.config.ts"
]
}