1 Star 0 Fork 6

xiaoti/bpmn-dataflow-diagram-editor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.eslintrc.js 1.83 KB
一键复制 编辑 原始数据 按行查看 历史
404 提交于 2019-07-26 17:30 . init demo
module.exports = {
root: true,
parserOptions: {
sourceType: "script"
},
extends: [
// https://github.com/vuejs/eslint-plugin-vue#bulb-rules
"plugin:vue/recommended",
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
"standard",
// https://github.com/prettier/eslint-config-prettier
"prettier",
"prettier/standard"
],
rules: {
"vue/no-parsing-error": [2, { "x-invalid-end-tag": false }],
// Only allow debugger in development
"no-debugger": process.env.PRE_COMMIT ? "error" : "off",
// Only allow `console.log` in development
"no-console": process.env.PRE_COMMIT ? ["error", { allow: ["warn", "error"] }] : "off",
"vue/component-name-in-template-casing": [
"error",
"PascalCase",
{
ignores: [
"component",
"template",
"transition",
"transition-group",
"keep-alive",
"slot",
"router-view",
"router-link"
]
}
],
"vue/multiline-html-element-content-newline": "error",
"vue/singleline-html-element-content-newline": "error",
"vue/no-spaces-around-equal-signs-in-attribute": "error",
"vue/script-indent": ["off", null, { baseIndent: 0 }]
},
overrides: [
{
files: ["src/**/*", "tests/unit/**/*", "tests/e2e/**/*"],
excludedFiles: "app.config.js",
parserOptions: {
parser: "babel-eslint",
sourceType: "module"
},
env: {
browser: true
}
},
{
files: ["**/*.unit.js"],
parserOptions: {
parser: "babel-eslint",
sourceType: "module"
},
env: { jest: true },
globals: {
mount: false,
shallowMount: false,
shallowMountView: false,
createComponentMocks: false,
createModuleStore: false
}
}
]
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tangzhiming/bpmn-dataflow-diagram-editor.git
git@gitee.com:tangzhiming/bpmn-dataflow-diagram-editor.git
tangzhiming
bpmn-dataflow-diagram-editor
bpmn-dataflow-diagram-editor
master

搜索帮助