Ai
3 Star 12 Fork 12

肆零肆/aps 制造 排产 排程 系统 VUE3
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
eslint.config.js 1.43 KB
一键复制 编辑 原始数据 按行查看 历史
肆零肆 提交于 2025-05-14 10:04 +08:00 . 增加订单商品历史统计
import antfu from "@antfu/eslint-config"
// 更多自定义配置可查阅仓库:https://github.com/antfu/eslint-config
export default antfu(
{
// 使用外部格式化程序格式化 css、html、markdown 等文件
formatters: true,
// 启用样式规则
stylistic: {
// 缩进级别
indent: 2,
// 引号风格 'single' | 'double'
quotes: "double",
// 是否启用分号
semi: false
},
// 忽略文件
ignores: []
},
{
// 对所有文件都生效的规则
rules: {
"style/keyword-spacing": "off",
"style/indent": "off",
"ts/no-import-type-side-effects": "off",
"perfectionist/sort-imports": "off",
"import/consistent-type-specifier-style": "off",
"antfu/top-level-function": "off",
"@typescript-eslint/consistent-type-imports": "off",
// vue
"vue/block-order": ["error", { order: ["script", "template", "style"] }],
"vue/attributes-order": "off",
// ts
"ts/no-use-before-define": "off",
// node
"node/prefer-global/process": "off",
// style
"style/comma-dangle": ["error", "never"],
"style/brace-style": ["error", "1tbs"],
// regexp
"regexp/no-unused-capturing-group": "off",
// other
"no-console": "off",
"no-debugger": "off",
"symbol-description": "off",
"antfu/if-newline": "off",
"unicorn/no-instanceof-builtins": "off"
}
}
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/slsplatform/peanut-web-vue3.git
git@gitee.com:slsplatform/peanut-web-vue3.git
slsplatform
peanut-web-vue3
aps 制造 排产 排程 系统 VUE3
master

搜索帮助