提交 61ad3328 编写于 作者: H haoxr

chore(.eslintrc.cjs): 🔨 根据官方文档配置解决 `eslint` 和 `prettier` 的冲突问题


Former-commit-id: e818c395
上级 6843c7f1
......@@ -5,12 +5,11 @@ module.exports = {
node: true,
},
parser: "vue-eslint-parser",
// https://eslint.vuejs.org/user-guide/#bundle-configurations
extends: [
"eslint:recommended",
"plugin:vue/vue3-essential",
"plugin:@typescript-eslint/recommended",
// 参考vuejs官方的eslint配置: https://eslint.vuejs.org/user-guide/#usage
"plugin:vue/vue3-recommended",
"./.eslintrc-auto-import.json",
"prettier",
],
parserOptions: {
ecmaVersion: "latest",
......@@ -29,6 +28,5 @@ module.exports = {
globals: {
DialogOption: "readonly",
OptionType: "readonly",
defineOptions: "readonly",
},
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册