Skip to content

Commit 3bc7ce6

Browse files
authored
Remove workarounds for solved eslint-plugin-vue bug (#1180)
* build: bump eslint-plugin-vue * fix: remove workaround code for fixed dep issue
1 parent 48f4751 commit 3bc7ce6

3 files changed

Lines changed: 10 additions & 15 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@vue/eslint-config-typescript": "14.9.0",
1818
"eslint": "10.0.3",
1919
"eslint-plugin-cypress": "6.2.0",
20-
"eslint-plugin-vue": "10.8.0",
20+
"eslint-plugin-vue": "10.9.2",
2121
"knip": "6.17.1",
2222
"prettier": "3.6.2",
2323
"supports-color": "8.1.1",

pnpm-lock.yaml

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webapp/src/components/dataset_input/FileSelection.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ const hideConnectField = computed(() => files.value !== undefined);
126126
127127
const fileType = computed(() => {
128128
const name = (() => {
129-
// need function wrap vuejs/eslint-plugin-vue#2142
130129
switch (props.type) {
131130
case "image":
132131
return "image";
@@ -153,10 +152,6 @@ const acceptFilter = computed(() => {
153152
case "text":
154153
return "text/plain";
155154
}
156-
157-
// vuejs/eslint-plugin-vue#2142
158-
props.type satisfies never;
159-
throw new TypeError("invalid value");
160155
});
161156
162157
const fileNamesDisplay = computed(() => {

0 commit comments

Comments
 (0)