1 Star 0 Fork 622

lan/easy-flow

forked from 萌级小菜鸟/easy-flow 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.js 1.00 KB
一键复制 编辑 原始数据 按行查看 历史
liu.chengbiao 提交于 2020-03-14 12:10 . 2.0.0 更新优化
// 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',
'indent': 'off',
'vue/script-indent': [
'error',
4,
{
'baseIndent': 1
}
]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/lanicon_admin/easy-flow.git
[email protected]:lanicon_admin/easy-flow.git
lanicon_admin
easy-flow
easy-flow
master

搜索帮助