24 Star 372 Fork 113

roberthuang123 / wedding

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 781 Bytes
一键复制 编辑 原始数据 按行查看 历史
roberthuang123 提交于 2019-01-08 16:37 . init
// http://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
env: {
browser: false,
node: true,
es6: 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': {
// allow paren-less arrow functions
'arrow-parens': 0,
// allow async-await
'generator-star-spacing': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
},
globals: {
App: true,
Page: true,
wx: true,
getApp: true,
getPage: true,
requirePlugin: true
}
}
JavaScript
1
https://gitee.com/roberthuang123/wedding.git
git@gitee.com:roberthuang123/wedding.git
roberthuang123
wedding
wedding
master

搜索帮助