代码拉取完成,页面将自动刷新
/*
* @Author: xiangrui
* @Date: 2021-02-24 15:43:34
* @LastEditors: xiangrui
* @LastEditTime: 2022-03-01 00:15:51
* @Description: file content
* @FilePath: \demo\.eslintrc.js
*/
// https://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parserOptions: {
parser: 'babel-eslint'
},
env: {
browser: true
},
extends: [
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
'plugin:vue/essential',
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
'standard'
],
// required to lint *.vue files
plugins: ['vue'],
// add your custom rules here
rules: {
// allow async-await
'generator-star-spacing': 'off',
'no-const-assign': 2,
'no-irregular-whitespace': 2,
'no-debugger': 2,
'no-trailing-spaces': 1,
'no-lonely-if': 2,
semi: 'error',
'space-before-function-paren': 0,
'key-spacing': 1,
'space-before-blocks': 1,
'space-infix-ops': 1,
'indent': 1,
'comma-spacing': 1,
'no-unused-vars': 1,
'arrow-spacing': 1,
'keyword-spacing': 1,
'quotes': 1,
'comma-dangle': 0,
'no-lonely-if': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。