Files
reader-star/eslint.config.js
rjl 82b1dd7ebe feat(template): 增强答题卡编辑器功能并优化类型定义
- 新增模板详情编辑功能,支持从后端加载并回填数据
- 在画布中增加网格、标尺和坐标显示辅助工具
- 优化模板列表操作按钮布局,新增打印功能
- 扩展响应类型定义,增加 success 字段和 TemplateDetail 接口
- 添加 ESLint 配置排除 Markdown 文件,并完善事件总线类型
- 新增请求工具使用文档,说明错误处理机制
2026-01-29 11:55:18 +08:00

25 lines
640 B
JavaScript

// @ts-check
import { readStarConfig } from '@read-star/eslint-config'
export default readStarConfig(
{
vue: true,
unocss: true,
ignores: [
'**/dist/**',
'**/node_modules/**',
'**/public/**',
'pnpm-lock.yaml',
'**/*.md',
],
},
{
rules: {
'vue/multi-word-component-names': ['warn', { ignores: ['index', 'App', 'Register', '[id]', '[url]'] }],
'vue/component-name-in-template-casing': ['warn', 'PascalCase', { registeredComponentsOnly: false, ignores: ['/^icon-/'] }],
'unocss/order-attributify': 'off',
'regexp/no-unused-capturing-group': 'off',
},
},
)