代码拉取完成,页面将自动刷新
/*
* @Author: suxunying
* @desc:
* @Date: 2021-07-30 15:24:21
* @LastEditors: suxunying
* @LastEditTime: 2021-07-30 15:24:21
* @FilePath: \cocosdashboard\.eslintrc.js
*/
/*
* @desc: eslint文件配置
* @Author: linlianqiang
* @Date: 2021-07-22 14:21:35
* @LastEditTime: 2021-07-29 10:28:28
* @LastEditors: Choim
* @FilePath: \cocosdashboard\.eslintrc.js
*/
module.exports = {
root: true,
env: {
node: true,
},
extends: [
'plugin:vue/recommended',
'@vue/airbnb',
'@vue/typescript/recommended',
],
parserOptions: {
ecmaVersion: 2020,
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-underscore-dangle': 'off',
'no-param-reassign': 'off',
'import/prefer-default-export': 'off',
'@typescript-eslint/camelcase': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'linebreak-style': 0,
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}],
'@typescript-eslint/no-var-requires': 0,
"global-require": 0,
"max-len": [0, 150],
"indent": ["error", 4],
"vue/html-indent": ["error", 4],
"class-methods-use-this": "off",
"vue/singleline-html-element-content-newline": "off",
"@typescript-eslint/no-this-alias": [
"error",
{
"allowDestructuring": true, // Allow `const { props, state } = this`; false by default
"allowedNames": ["_this"] // Allow `const _this = this`; `[]` by default
}
]
},
settings: {
"import/resolver": {
"webpack": {
//此处config对应webpack.config.js的路径,我这个路径是vue-cli3默认的路径
"config": "node_modules/@vue/cli-service/webpack.config.js"
}
}
},
};
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。