feat: 实现剧本创作与拆解前端工作台

This commit is contained in:
GouJ
2026-08-27 19:33:51 +08:00
parent edc003443f
commit 2ee6f049f6
56 changed files with 7597 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
import { defineConfig } from 'oxlint'
/** 延续后端质量规则,增加浏览器及 Vue 脚本环境。模板由 ESLint 补充。 */
export default defineConfig({
categories: { correctness: 'error', suspicious: 'warn' },
env: { browser: true, node: true, es2021: true },
plugins: ['eslint', 'typescript', 'unicorn', 'vue', 'vitest'],
ignorePatterns: ['dist/**', 'coverage/**', 'node_modules/**'],
rules: {
eqeqeq: ['error', 'always'],
'no-console': ['error', { allow: ['warn', 'error'] }],
'no-debugger': 'error',
'no-var': 'error',
'prefer-const': 'error',
'typescript/no-explicit-any': 'error',
'vitest/no-focused-tests': 'error'
}
})