2 Star 0 Fork 0

Nishimiya_Syouko / educate-cloud

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.eslintrc.js 893 Bytes
一键复制 编辑 原始数据 按行查看 历史
ok1dai 提交于 2020-07-17 16:21 . 1.0.0
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'eslint:recommended'
],
parserOptions: {
parser: 'babel-eslint'
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
// allow async-await
'generator-star-spacing': 'off',
// allow debugger during development
// indent: ["warning", 4]
// 'indent': ['warn', 4],
"space-before-function-paren": 0,
"no-undef": 0,
"no-unused-vars": 0
// 函数名后的空格(禁用)
// 'space-before-function-paren': ['error', 'never'],
// // 缩进规范(两个空格,一倍缩进)
// 'vue/script-indent': ['error', 2, {'baseIndent': 1}]
}
}
1
https://gitee.com/zy_sakura/educate-cloud.git
git@gitee.com:zy_sakura/educate-cloud.git
zy_sakura
educate-cloud
educate-cloud
master

搜索帮助