- 新增模板详情编辑功能,支持从后端加载并回填数据 - 在画布中增加网格、标尺和坐标显示辅助工具 - 优化模板列表操作按钮布局,新增打印功能 - 扩展响应类型定义,增加 success 字段和 TemplateDetail 接口 - 添加 ESLint 配置排除 Markdown 文件,并完善事件总线类型 - 新增请求工具使用文档,说明错误处理机制
25 lines
640 B
JavaScript
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',
|
|
},
|
|
},
|
|
)
|