mirror of
https://gitee.com/JavaLionLi/plus-ui.git
synced 2026-09-13 07:43:43 +08:00
41 lines
1.3 KiB
JSON
41 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
|
|
"plugins": ["eslint", "typescript", "unicorn", "oxc", "import", "react"],
|
|
"rules": {
|
|
"typescript/no-empty-function": "off",
|
|
"typescript/no-explicit-any": "off",
|
|
"typescript/no-unused-vars": "off",
|
|
"typescript/no-this-alias": "off",
|
|
"typescript/no-empty-object-type": "off",
|
|
"typescript/no-unused-expressions": "off",
|
|
"prefer-rest-params": "off",
|
|
"import/no-unassigned-import": "off",
|
|
"import/no-named-as-default-member": "off",
|
|
"import/no-named-as-default": "off",
|
|
"react/react-in-jsx-scope": "off",
|
|
"react/no-unstable-nested-components": "off",
|
|
"react/iframe-missing-sandbox": "off",
|
|
"react-hooks/exhaustive-deps": "off",
|
|
"no-shadow": "off",
|
|
"unicorn/no-array-sort": "off",
|
|
"unicorn/no-useless-fallback-in-spread": "off",
|
|
"unicorn/prefer-add-event-listener": "off",
|
|
"unicorn/consistent-function-scoping": "off",
|
|
"unicorn/no-instanceof-builtins": "off"
|
|
},
|
|
"categories": {
|
|
"correctness": "error",
|
|
"suspicious": "error"
|
|
},
|
|
"ignorePatterns": [
|
|
"src/.umi",
|
|
"src/.umi-production",
|
|
".ai_state",
|
|
".claude",
|
|
".codex",
|
|
"dist/**",
|
|
"dist-ssr/**",
|
|
"coverage/**"
|
|
]
|
|
}
|