-
-
Notifications
You must be signed in to change notification settings - Fork 76
Expand file tree
/
Copy path.oxlintrc.jsonc
More file actions
74 lines (74 loc) · 1.83 KB
/
.oxlintrc.jsonc
File metadata and controls
74 lines (74 loc) · 1.83 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
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["unicorn", "typescript", "oxc"],
"jsPlugins": ["oxlint-plugin-posva"],
"categories": {
"correctness": "error",
"suspicious": "off",
"nursery": "off",
"pedantic": "off",
"perf": "warn",
"style": "off",
},
"rules": {
"no-control-regex": "off",
"no-dupe-class-members": "error",
"no-unused-vars": [
// in jsdoc we need to import even when unused for @link to work
"off",
// {
// "fix": {
// "imports": "safe-fix",
// "variables": "off",
// },
// "varsIgnorePattern": "^_",
// "argsIgnorePattern": "^_",
// "caughtErrors": "none",
// "ignoreRestSiblings": true,
// },
],
"unicorn/no-useless-spread": "off",
"no-console": ["error", { "allow": ["warn", "error"] }],
"numeric-separators-style": "warn",
"curly": ["error", "multi-line"],
"require-post-message-target-origin": "off",
"posva/vitest-prefer-to-have-been-called-times": "error",
},
"settings": {
"jsx-a11y": {
"polymorphicPropName": "as",
"components": {},
"attributes": {},
},
"next": {
"rootDir": [],
},
"react": {
"formComponents": [],
"linkComponents": [],
},
"jsdoc": {
"ignorePrivate": false,
"ignoreInternal": false,
"ignoreReplacesDocs": true,
"overrideReplacesDocs": true,
"augmentsExtendsReplacesDocs": false,
"implementsReplacesDocs": false,
"exemptDestructuredRootsFromChecks": false,
"tagNamePreference": {},
},
},
"env": {
"builtin": true,
},
"globals": {},
"ignorePatterns": [
"**/*.ts.timestamp*",
"nuxt",
"dist",
"devtools/dist",
"devtools/components.d.ts",
"devtools/dist-*",
"**/CLAUDE.md",
],
}