unibest/.oxlintrc.json
feige996 fc7d30c510 chore: 更新 oxlint 配置并添加自动修复命令
扩展 oxlint 配置,添加更多文件类型支持并引入插件
添加 lint:oxlint-fix 命令以支持自动修复
2025-06-13 17:52:04 +08:00

25 lines
471 B
JSON

{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"extends": ["config:recommended"],
"plugins": ["import", "typescript", "unicorn"],
"rules": {
"no-console": "off",
"no-unused-vars": "off"
},
"env": {
"es6": true
},
"globals": {
"foo": "readonly"
},
"settings": {},
"overrides": [
{
"files": ["*.test.ts", "*.spec.ts"],
"rules": {
"@typescript-eslint/no-explicit-any": "off"
}
}
]
}