2 Star 5 Fork 0

Leo/async-multiple

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.js 753 Bytes
一键复制 编辑 原始数据 按行查看 历史
罗泽为 提交于 2019-03-12 17:42 +08:00 . add tmp branch
// http://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
env: {
browser: true,
node: true,
es6: true
},
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
extends: 'standard',
// add your custom rules here
'rules': {
// costume
'comma-dangle': [2, 'always-multiline'],
'space-before-function-paren': [2, 'never'],
// allow paren-less arrow functions
'arrow-parens': 0,
"space-before-function-paren": ["error", {
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}],
// allow async-await
'generator-star-spacing': 0
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/aim-leo/async-multiple.git
git@gitee.com:aim-leo/async-multiple.git
aim-leo
async-multiple
async-multiple
master

搜索帮助