2 Star 53 Fork 17

武侯 / wxxcx

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 725 Bytes
一键复制 编辑 原始数据 按行查看 历史
武侯 提交于 2018-05-14 11:43 . first commit
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 *.wpy files
plugins: [
'html'
],
settings: {
'html/html-extensions': ['.html', '.wpy']
},
// 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,
'space-before-function-paren': 0
},
globals: {
wx: true
}
}
JavaScript
1
https://gitee.com/wuhou123/wxxcx.git
git@gitee.com:wuhou123/wxxcx.git
wuhou123
wxxcx
wxxcx
master

搜索帮助