-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.oxlintrc.json
More file actions
34 lines (34 loc) · 1.01 KB
/
.oxlintrc.json
File metadata and controls
34 lines (34 loc) · 1.01 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
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"rules": {
"react/no-children-prop": "error",
"react/jsx-key": "error",
"react/no-danger-with-children": "error",
"react/jsx-no-comment-textnodes": "error",
"react/jsx-no-duplicate-props": "error",
"typescript/no-this-alias": "error",
"typescript/no-unnecessary-type-constraint": "error",
"no-unused-vars": "error",
"react/exhaustive-deps": "warn",
"react/rules-of-hooks": "error",
"typescript/prefer-as-const": "error",
"typescript/no-explicit-any": "error",
"typescript/no-extra-non-null-assertion": "error",
"typescript/no-misused-new": "error",
"typescript/no-unsafe-declaration-merging": "error"
},
"plugins": ["oxc", "typescript", "react", "react-perf", "eslint"],
"settings": {
"react": {
"version": "19",
"linkComponents": [],
"formComponents": [],
"componentWrapperFunctions": []
}
},
"overrides": [
{
"files": ["src/**/*.ts", "!dist/"]
}
]
}