-
-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy path.oxlintrc.jsonc
More file actions
62 lines (62 loc) · 1.55 KB
/
Copy path.oxlintrc.jsonc
File metadata and controls
62 lines (62 loc) · 1.55 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
{
"$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": {
// TODO: set to "warn" once per-rule fix disable is supported
// https://github.com/oxc-project/oxc/issues/13306
"no-debugger": "off",
"no-control-regex": "off",
"no-dupe-class-members": "error",
"no-unused-vars": "off",
"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": {
"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*",
"dist",
"scripts",
"nuxt",
"nuxt-module",
"**/CLAUDE.md",
],
}