22 lines
541 B
Plaintext
22 lines
541 B
Plaintext
// ESLint 检查 .vue 文件需要单独配置编辑器:
|
|
// https://eslint.vuejs.org/user-guide/#editor-integrations
|
|
{
|
|
"extends": ["taro/vue3", "../eslint.base.cjs"],
|
|
"parser": "vue-eslint-parser",
|
|
"parserOptions": {
|
|
"parser": "@typescript-eslint/parser",
|
|
"extraFileExtensions": [".vue"],
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["*.ts", "*.tsx"],
|
|
"parser": "@typescript-eslint/parser"
|
|
}
|
|
],
|
|
"rules": {
|
|
"vue/multi-word-component-names": "off"
|
|
}
|
|
}
|