fix(eslint): 修复插件冲突和本地规则加载问题

- 移除重复的 @typescript-eslint 插件声明(react-app 已包含)
- 重命名 eslint-rules → eslint-local-rules(符合插件约定)
- 简化 TypeScript overrides,仅保留规则覆盖

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
zdl
2025-12-24 19:35:16 +08:00
parent 7f4f9e4032
commit 5a4e6d2a03
3 changed files with 8 additions and 16 deletions

View File

@@ -0,0 +1,10 @@
/**
* 本地 ESLint 规则插件
*
* 在 .eslintrc.js 中通过 eslint-plugin-local-rules 使用
*/
module.exports = {
rules: {
'no-hardcoded-fui-colors': require('./no-hardcoded-fui-colors'),
},
};