NuxtN
Nuxtβ€’15mo agoβ€’
5 replies
Omnislash

eslint end-tag-with-attributes

Hello πŸ™‚

Pretty simple (I hope ^^")

I installed eslint automatically this way, with stylistic without prettier :
https://eslint.nuxt.com/packages/module
So far so good πŸ™‚

But then, this is considered an error :
<MyComponent end>
Parsing error: end-tag-with-attributes. eslintvue/no-parsing-error

How can I authorize specific attributes, or even better specific attributes for specific components ?
I feel like it should be possible since those work fine :
<UModal prevent-close>

<div v-if="true"></div>
<div v-else></div>


Thanks πŸ™‚
Was this page helpful?