You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code cause error Parsing error: ';' expected. at TBar comment row.
It is not occur not only when comment row exists, but also when generic definition has line breaks.
<script setup lang="ts" generic="// comment of TFooTFooextendsRecord<string, any>,
// comment of TBarTBar">
...
</script>
I write a component which has 6 generics and each definition lasting about 50 characters, so generic definition has 13 lines.
Vue.js can parse this and can built and move correctly, but only ESLint displays error.
ESLint seems not responsible for Vue, so I submit this bug? to here.
If more suitable place exsits, I'm please to tell me that and sorry for your bother.
The text was updated successfully, but these errors were encountered:
pronitsateli731
changed the title
<script setup lang="js" generic=" multiline generic definition "> cause ESLint Parsing error, but can correctly build.
<script setup lang="ts" generic=" multiline generic definition "> cause ESLint Parsing error, but can correctly build.
Dec 1, 2023
This code cause error
Parsing error: ';' expected.
at TBar comment row.It is not occur not only when comment row exists, but also when generic definition has line breaks.
I write a component which has 6 generics and each definition lasting about 50 characters, so generic definition has 13 lines.
Vue.js can parse this and can built and move correctly, but only ESLint displays error.
ESLint seems not responsible for Vue, so I submit this bug? to here.
If more suitable place exsits, I'm please to tell me that and sorry for your bother.
The text was updated successfully, but these errors were encountered: