1 Star 0 Fork 50

TKaxv_7S / Ffast-FE

forked from DaiZhiYi / Ffast-FE 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 695 Bytes
一键复制 编辑 原始数据 按行查看 历史
DaiZhiYi 提交于 2018-06-04 17:33 . init
// http://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
env: {
browser: true,
},
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
extends: 'standard',
// required to lint *.vue files
plugins: [
'html'
],
// add your custom rules here
'rules': {
// allow paren-less arrow functions
'arrow-parens': 0,
// 强制结尾分号
"semi": [1, "always"],
// allow async-await
'generator-star-spacing': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
}
}
JavaScript
1
https://gitee.com/TKaxv-7S/Ffast-FE.git
git@gitee.com:TKaxv-7S/Ffast-FE.git
TKaxv-7S
Ffast-FE
Ffast-FE
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891