代码拉取完成,页面将自动刷新
// http://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
env: {
browser: 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: {
'arrow-parens': 'off', // This rule enforces parentheses around arrow function parameters regardless of arity
'no-useless-escape': 'off', // This rule flags escapes that can be safely removed without changing behavior
'accessor-pairs': 'off',
'padded-blocks': 'off',
'comma-dangle': 'off',
'spaced-comment': 'off',
'comma-spacing': 'off',
'brace-style': 'off',
'block-spacing': 'off',
'prefer-promise-reject-errors': 'off',
// allow async-await
'generator-star-spacing': 'off',
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-new': 'off', // allow new
'eol-last': 'warn',
'no-unused-vars': 'warn',
'no-trailing-spaces': 'warn',
'no-multiple-empty-lines': 'warn',
'camelcase': 'off',
},
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。