mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2025-06-07 05:47:57 +08:00
32 lines
680 B
JavaScript
32 lines
680 B
JavaScript
module.exports = {
|
|
root: true,
|
|
|
|
env: {
|
|
node: true,
|
|
},
|
|
|
|
extends: [
|
|
"plugin:vue/vue3-essential",
|
|
"eslint:recommended",
|
|
"@vue/prettier",
|
|
],
|
|
|
|
parserOptions: {
|
|
parser: "@babel/eslint-parser",
|
|
},
|
|
// "writable" 以允许重写变量,或 "readonly" 不允许重写变量
|
|
globals: {
|
|
XE: "readonly",
|
|
VE_ENV: "readonly",
|
|
VE_API: "readonly",
|
|
},
|
|
|
|
rules: {
|
|
indent: [2, 4, { SwitchCase: 1 }],
|
|
"prettier/prettier": [2, { tabWidth: 4, endOfLine: "auto" }],
|
|
"no-console": "off",
|
|
"no-debugger": "off",
|
|
"vue/multi-word-component-names": 0,
|
|
},
|
|
};
|