1 Star 0 Fork 1

utensil/umd-wiki

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 804 Bytes
一键复制 编辑 原始数据 按行查看 历史
utensil 提交于 2016-07-02 19:22 . Pass eslint for plugins
module.exports = {
root: true,
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
extends: 'standard',
// required to lint *.vue files
plugins: [
'html'
],
// add your custom rules here
'rules': {
// the dot in a member expression should be on the same line as the object portion
'dot-location': ['error', 'object'],
// allow paren-less arrow functions
'arrow-parens': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
// placing operators at the beginning of the line makes the code more readable
'operator-linebreak': [2, 'before', { 'overrides': { '?': 'after' } }]
},
'globals': {
'_': false,
'fetch': false,
'$': false,
'debug': false
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/utensil/umd-wiki.git
git@gitee.com:utensil/umd-wiki.git
utensil
umd-wiki
umd-wiki
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385