代码拉取完成,页面将自动刷新
// 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',
]
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。