Files
hzhub/hzhub-portal-employee/eslint.config.js
大壮 278e507e8a feat: 添加员工门户项目及相关后端改造
- 新增 hzhub-portal-employee 员工门户前端项目(基于 Vue3 + Element Plus)
- 后端登录接口增加返回 nickName 字段
- 移除 KnowledgeInfoController 的 @SaCheckPermission 注解
- 删除 hzhub-portal-company 旧门户项目
- 更新项目文档和架构说明
- 添加后台运行管理脚本(start-all.sh / status-all.sh / stop-all.sh)
- 更新 docker-compose 配置

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13 03:47:33 +00:00

39 lines
747 B
JavaScript

import antfu from "@antfu/eslint-config";
// 使用 antfu 配置
export default antfu({
vue: {
"vue/block-order": [
"error",
{
// 块顺序
order: ["script", "template", "style"],
},
],
},
typescript: true,
stylistic: {
indent: 2, // 缩进
semi: true, // 语句分号
quotes: "single", // 单引号
},
rules: {
"new-cap": ["off", { newIsCap: true, capIsNew: false }],
"no-console": "off", // 忽略console
},
ignores: [
"**/dist/**",
"**/node_modules/**",
"**/build/**",
"**/lib/**",
"**/es/**",
"**/types/**",
"**/public/**",
"**/vite.config.ts",
"**/eslint.config.js",
"./*.cjs",
"./*.js",
"./package.json",
],
});