194 Star 1.7K Fork 613

萌级小菜鸟 / 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
}
]
}
}
JavaScript
1
https://gitee.com/xiaoka2017/easy-flow.git
git@gitee.com:xiaoka2017/easy-flow.git
xiaoka2017
easy-flow
easy-flow
master

搜索帮助