1 Star 0 Fork 0

深圳墨水瓶/CreativeApp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.eslintrc.js 1.28 KB
一键复制 编辑 原始数据 按行查看 历史
touchx 提交于 2017-07-28 10:09 +08:00 . add module be required
// http://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
extends: 'standard',
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
globals: {
// Put things like jQuery, etc
jQuery: true,
$: true,
},
env: {
browser: true,
jquery: true,
},
// required to lint *.vue files
plugins: [
'html'
],
// add your custom rules here
rules: {
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
"camelcase": 0,
"no-extra-boolean-cast": 0,
"space-before-function-paren": ["error", "never"],
"semi": ["error", "always"],
"comma-dangle": [2, "always-multiline"],
"no-console": 0, //console 未删除
"no-var": 0,
"no-new": 0,
"import/no-unresolved": 0,
"no-underscore-dangle": [0],
"prefer-template": 0,
"object-shorthand": [0],
"prefer-arrow-callback": 0,
"prefer-rest-params": 0,
"no-param-reassign": 0,
"max-len": ["error", {
"code": 200,
"tabWidth": 2,
"comments": 200,
"ignoreComments": false,
"ignoreTrailingComments": false,
"ignoreUrls": true
}],
"global-require": 0,
'no-restricted-syntax': [
2,
'LabeledStatement',
'WithStatement',
]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/Ink-Bottle/CreativeApp.git
git@gitee.com:Ink-Bottle/CreativeApp.git
Ink-Bottle
CreativeApp
CreativeApp
master

搜索帮助