Files
ar-inspection/.claude/commands/lint.md
2025-12-01 23:57:09 +08:00

25 lines
411 B
Markdown

---
description: 运行前端代码检查和格式化
---
# 前端代码质量检查
执行以下操作:
1. 切换到 plus-ui 目录
2. 运行 ESLint 检查并自动修复
3. 运行 Prettier 格式化代码
4. 显示检查结果
使用命令:
```bash
cd plus-ui
npm run lint:eslint:fix
npm run prettier
```
检查以下文件类型:
- *.vue (Vue 组件)
- *.ts (TypeScript 文件)
- *.tsx (TypeScript JSX)