6 Star 30 Fork 13

adtl / adtl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 572 Bytes
一键复制 编辑 原始数据 按行查看 历史
Your Name 提交于 2020-07-10 18:28 . 修正,增加build 的F12
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
env: {
browser: true,
node: true
},
extends: 'eslint:recommended',
globals: {
__static: true
},
plugins: [
'html'
],
'rules': {
// allow paren-less arrow functions
'arrow-parens': 0,
// 启用console
'no-console' : 0,
// allow async-await
'generator-star-spacing': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
}
}
NodeJS
1
https://gitee.com/adtl/adtl.git
git@gitee.com:adtl/adtl.git
adtl
adtl
adtl
master

搜索帮助