45 Star 136 Fork 91

GVPHalo-E/HaloE-Design

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.js 857 Bytes
一键复制 编辑 原始数据 按行查看 历史
module.exports = {
root: true,
env: {
node: true,
},
globals: {
$: true,
BMap: true,
},
extends: ["plugin:vue/vue3-essential"],
parserOptions: {
parser: "babel-eslint",
ecmaVersion: 13,
sourceType: "module",
},
rules: {
"vue/script-setup-uses-vars": "off",
"vue/html-indent": ["error", 2],
'indent': ["error", 2],
"no-console": "warn",
"no-tabs": 0,
"no-unused-vars": 0,
"no-return-assign": 0,
"vue/html-self-closing": "off",
"vue/require-default-prop": 0,
"vue/max-attributes-per-line": [
// 配置成可允许一行attribute跟着标签
"error",
{
singleline: 20,
multiline: {
max: 1,
allowFirstLine: false,
},
},
],
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
},
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/halo-e/haloe-design.git
git@gitee.com:halo-e/haloe-design.git
halo-e
haloe-design
HaloE-Design
develop

搜索帮助