将账本业务页面、表单与审批迁移到 React,并加入旧版对照验收

This commit is contained in:
黄健铭 committed 2026-12-04 22:43:40 -08:00
1 parent f1a4e69f0d
commit 00dd683116
107 files changed
+31755 -191

No files matched your search

+16
View File
@@ -15,6 +15,22 @@ export default tseslint.config(
rules: {
...reactHooks.configs.recommended.rules,
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
},
},
{ files: ['src/**/*.{js,jsx}'], languageOptions: { globals: { ...globals.browser } } },
{
files: ['**/*.jsx'],
languageOptions: {
parserOptions: { ecmaFeatures: { jsx: true } },
},
plugins: { 'react-hooks': reactHooks },
rules: {
'react-hooks/rules-of-hooks': 'error',
},
},
{
files: ['**/*.{ts,tsx,jsx}'],
rules: {
// 禁止绕开 React 的自动转义。
'no-restricted-syntax': [
'error',