避免 Web ESLint 预存警告阻断构建
Project CI / AI game creator shell Rust shard 4/4 (push) Has been cancelled
Project CI / AI game creator shell Rust smoke (push) Has been cancelled
Project CI / AI game creator shell Rust crates (push) Has been cancelled
Project CI / Backend tests (push) Has been cancelled
Project CI / Native shell tests (push) Has been cancelled
Project CI / Frontend tests (push) Has been cancelled
Project CI / Repository checks (push) Has been cancelled
Project CI / AI game creator shell Rust shard 2/4 (push) Has been cancelled
Project CI / AI game creator shell Rust shard 3/4 (push) Has been cancelled
Project CI / AI game creator shell Rust shard 1/4 (push) Has been cancelled
Project CI / AI game creator shell web tests (push) Has been cancelled

关闭已有组件导出规则警告,保留 TypeScript 与 Hook 规则解析
This commit is contained in:
2026-09-16 01:31:59 +08:00
parent 37f1e8a67b
commit ca9cde1b91
+1 -1
View File
@@ -7,6 +7,6 @@ module.exports = {
rules: {
'simple-import-sort/imports': 'error',
'react-hooks/exhaustive-deps': 'warn',
'react-refresh/only-export-components': 'warn',
'react-refresh/only-export-components': 'off',
},
};