|
@@ -2,7 +2,7 @@
|
|
* @Author: wjc
|
|
* @Author: wjc
|
|
* @Date: 2024-05-27 11:53:23
|
|
* @Date: 2024-05-27 11:53:23
|
|
* @LastEditors: wjc
|
|
* @LastEditors: wjc
|
|
- * @LastEditTime: 2024-05-31 09:24:37
|
|
|
|
|
|
+ * @LastEditTime: 2024-06-05 09:24:04
|
|
* @Description:
|
|
* @Description:
|
|
*/
|
|
*/
|
|
module.exports = {
|
|
module.exports = {
|
|
@@ -12,10 +12,9 @@ module.exports = {
|
|
},
|
|
},
|
|
extends: [
|
|
extends: [
|
|
'eslint:recommended',
|
|
'eslint:recommended',
|
|
- 'plugin:vue/vue3-essential',
|
|
|
|
|
|
+ 'plugin:vue/vue3-recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:import/recommended',
|
|
'plugin:import/recommended',
|
|
- 'standard',
|
|
|
|
'prettier',
|
|
'prettier',
|
|
'plugin:prettier/recommended',
|
|
'plugin:prettier/recommended',
|
|
],
|
|
],
|
|
@@ -32,6 +31,13 @@ module.exports = {
|
|
},
|
|
},
|
|
},
|
|
},
|
|
plugins: ['vue', '@typescript-eslint', 'prettier', 'import'],
|
|
plugins: ['vue', '@typescript-eslint', 'prettier', 'import'],
|
|
|
|
+ settings: {
|
|
|
|
+ 'import/resolver': {
|
|
|
|
+ typescript: {
|
|
|
|
+ alwaysTryTypes: true,
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ },
|
|
rules: {
|
|
rules: {
|
|
'vue/no-mutating-props': [
|
|
'vue/no-mutating-props': [
|
|
'error',
|
|
'error',
|