-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Expand file tree
/
Copy path.oxlintrc.json
More file actions
35 lines (30 loc) Β· 1.26 KB
/
.oxlintrc.json
File metadata and controls
35 lines (30 loc) Β· 1.26 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
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"extends": [
"./node_modules/ultracite/config/oxlint/core/.oxlintrc.json",
"./node_modules/ultracite/config/oxlint/next/.oxlintrc.json",
"./node_modules/ultracite/config/oxlint/react/.oxlintrc.json"
],
"rules": {
"no-warning-comments": "off", // Allow TODO and FIXME comments
"no-inline-comments": "off",
"sort-keys": "off",
"func-style": "off",
"typescript/no-unsafe-assignment": "off",
"typescript/no-unsafe-member-access": "off",
"typescript/no-unsafe-call": "off",
"typescript/strict-boolean-expressions": "off",
"typescript/consistent-type-definitions": ["error", "type"], // Use `type` instead of `interface`
"typescript/no-misused-promises": "off", // React Hook Form's handleSubmit returns a Promise-typed handler
"react-perf/jsx-no-new-function-as-prop": "off",
"unicorn/filename-case": "off", // Impossible to enforce consistent filename case due to multiple conventions
// --- JSDoc Rules ---
"jsdoc/require-param": "error",
"jsdoc/require-param-description": "error",
"jsdoc/require-returns": "error",
"jsdoc/require-returns-description": "error"
},
"options": {
"reportUnusedDisableDirectives": "error"
}
}