diff --git a/packages/client/.eslintrc.js b/packages/client/.eslintrc.js
index c3a78bd5fd..6c3bfb5a6e 100644
--- a/packages/client/.eslintrc.js
+++ b/packages/client/.eslintrc.js
@@ -61,6 +61,8 @@ module.exports = {
'vue/max-attributes-per-line': 'off',
'vue/html-self-closing': 'off',
'vue/singleline-html-element-content-newline': 'off',
+ // (vue/vue3-recommended disabled the autofix for Vue 2 compatibility)
+ 'vue/v-on-event-hyphenation': ['warn', 'always', { autofix: true }],
},
globals: {
// Node.js
diff --git a/packages/client/src/components/MkDrive.vue b/packages/client/src/components/MkDrive.vue
index c91fc95ab1..4053870950 100644
--- a/packages/client/src/components/MkDrive.vue
+++ b/packages/client/src/components/MkDrive.vue
@@ -7,8 +7,8 @@
:parent-folder="folder"
@move="move"
@upload="upload"
- @removeFile="removeFile"
- @removeFolder="removeFolder"
+ @remove-file="removeFile"
+ @remove-folder="removeFolder"
/>
@@ -17,8 +17,8 @@
:parent-folder="folder"
@move="move"
@upload="upload"
- @removeFile="removeFile"
- @removeFolder="removeFolder"
+ @remove-file="removeFile"
+ @remove-folder="removeFolder"
/>
@@ -48,8 +48,8 @@
@chosen="chooseFolder"
@move="move"
@upload="upload"
- @removeFile="removeFile"
- @removeFolder="removeFolder"
+ @remove-file="removeFile"
+ @remove-folder="removeFolder"
@dragstart="isDragSource = true"
@dragend="isDragSource = false"
/>
diff --git a/packages/client/src/components/MkDriveSelectDialog.vue b/packages/client/src/components/MkDriveSelectDialog.vue
index baab7f1324..3ee821b539 100644
--- a/packages/client/src/components/MkDriveSelectDialog.vue
+++ b/packages/client/src/components/MkDriveSelectDialog.vue
@@ -14,7 +14,7 @@
{{ multiple ? ((type === 'file') ? i18n.ts.selectFiles : i18n.ts.selectFolders) : ((type === 'file') ? i18n.ts.selectFile : i18n.ts.selectFolder) }}
({{ number(selected.length) }})
-
+
diff --git a/packages/client/src/components/MkPollEditor.vue b/packages/client/src/components/MkPollEditor.vue
index 4b3bc58ed9..556abc5fd0 100644
--- a/packages/client/src/components/MkPollEditor.vue
+++ b/packages/client/src/components/MkPollEditor.vue
@@ -5,7 +5,7 @@
-
-
+