36 lines
954 B
JSON
36 lines
954 B
JSON
{
|
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
"plugins": ["typescript", "unicorn", "oxc", "import"],
|
|
"categories": {
|
|
"correctness": "error",
|
|
"suspicious": "error",
|
|
"perf": "warn",
|
|
"style": "warn",
|
|
"restriction": "error",
|
|
"nursery": "off"
|
|
},
|
|
"rules": {
|
|
"eslint/no-undefined": "off",
|
|
"eslint/sort-keys": "off",
|
|
"eslint/id-length": "off",
|
|
"import/no-named-export": "off"
|
|
},
|
|
"env": {
|
|
"builtin": true,
|
|
"es2024": true,
|
|
"node": true
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["**/*.test.ts"],
|
|
"rules": {
|
|
"no-unused-expressions": "off",
|
|
"no-empty-file": "off",
|
|
"import/no-nodejs-modules": "off",
|
|
"eslint/no-magic-numbers": "off"
|
|
}
|
|
}
|
|
],
|
|
"ignorePatterns": ["dist", "node_modules", "coverage"]
|
|
}
|