1 Star 0 Fork 0

fg411 / music_play

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.eslintrc.js 865 Bytes
一键复制 编辑 原始数据 按行查看 历史
fg411 提交于 2018-03-15 17:41 . first
// https://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
env: {
browser: true,
},
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
extends: 'standard',
// required to lint *.vue files
plugins: [
'html'
],
// add your custom rules here
'rules': {
'no-var': 0,//禁用var,用let和const代替
// allow paren-less arrow functions
'arrow-parens': 0,
// allow async-await
'generator-star-spacing': 0,
'space-before-blocks': [0, 'always'],//不以新行开始的块{前面要不要有空格
'space-before-function-paren': [0, 'always'],//函数定义时括号前面要不要有空
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
}
}
JavaScript
1
https://gitee.com/gu/music_play.git
git@gitee.com:gu/music_play.git
gu
music_play
music_play
master

搜索帮助