-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy path.oxlintrc.json
More file actions
41 lines (41 loc) · 968 Bytes
/
.oxlintrc.json
File metadata and controls
41 lines (41 loc) · 968 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
31
32
33
34
35
36
37
38
39
40
41
{
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
"settings": {
"react": {
"version": "19"
},
"next": {
"rootDir": "./"
},
"jsx-a11y": {
"components": {
"Link": "a",
"Button": "button"
}
}
},
"plugins": ["react", "nextjs", "jsx-a11y", "typescript", "import", "unicorn"],
"rules": {
"no-debugger": "error",
"no-console": "warn",
"eqeqeq": "error",
"no-unused-vars": "warn",
"react/jsx-key": "error",
"react/jsx-no-duplicate-props": "error",
"react/no-children-prop": "error",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"typescript/no-explicit-any": "warn",
"import/no-cycle": "error",
"unicorn/no-null": "off"
},
"ignorePatterns": [
"node_modules",
".next",
"dist",
"build",
"*.config.js",
"*.config.mjs",
"scripts"
]
}