-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy path.oxlintrc.json
More file actions
34 lines (34 loc) · 854 Bytes
/
.oxlintrc.json
File metadata and controls
34 lines (34 loc) · 854 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
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"ignorePatterns": [
"dist/**",
"coverage/**",
"demo/dist/**",
".nyc_output/**",
"test/typegen/sanity.types.ts"
],
"plugins": ["eslint", "typescript", "unicorn", "react", "react-perf", "oxc", "import"],
"categories": {
"correctness": "error",
"suspicious": "warn"
},
"rules": {
"no-console": "error",
"no-array-sort": "off",
"rules-of-hooks": "error",
"react-in-jsx-scope": "off",
// @TODO these rules should be enabled, and the violations fixed
"no-unsafe-type-assertion": "off",
"no-underscore-dangle": "off"
},
"overrides": [
{
"files": ["test/**"],
"rules": {
"no-console": "off",
"no-unsafe-type-assertion": "off",
"consistent-function-scoping": "off"
}
}
]
}