1 Star 1 Fork 76

lindsy/vue-flow-design-plus

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.js 906 Bytes
一键复制 编辑 原始数据 按行查看 历史
前端爱码士 提交于 2022-10-22 23:55 . eslint: 统一代码规范
// https://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parserOptions: {
parser: "babel-eslint"
},
env: {
browser: true
},
extends: [
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
"plugin:vue/essential",
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
"standard"
],
// required to lint *.vue files
plugins: ["vue"],
// add your custom rules here
rules: {
// allow async-await
"generator-star-spacing": "off",
// allow debugger during development
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
"no-tabs": "off",
"one-var": "off",
"no-return-assign": "off",
"no-sequences": "off",
"no-new": "off",
}
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lindsyt/vue-flow-design-plus.git
git@gitee.com:lindsyt/vue-flow-design-plus.git
lindsyt
vue-flow-design-plus
vue-flow-design-plus
master

搜索帮助