2023-08-26 19:55:51 +08:00
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
"env": {
|
|
|
|
"node": true
|
|
|
|
},
|
|
|
|
"extends": [
|
2024-04-01 23:18:22 +08:00
|
|
|
"plugin:vue/vue3-essential",
|
2023-08-26 19:55:51 +08:00
|
|
|
"eslint:recommended",
|
2024-04-01 23:18:22 +08:00
|
|
|
"@vue/eslint-config-typescript",
|
2023-08-26 19:55:51 +08:00
|
|
|
"@vue/eslint-config-prettier"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"vue/multi-word-component-names": "off",
|
2024-04-01 23:18:22 +08:00
|
|
|
"vue/no-mutating-props": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"shallowOnly": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
// no-undef is already included in
|
|
|
|
// @vue/eslint-config-typescript
|
2023-08-26 19:55:51 +08:00
|
|
|
},
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": "latest",
|
|
|
|
"sourceType": "module"
|
|
|
|
}
|
|
|
|
}
|