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
In French, double punctuation marks (;, :, ! and ?) take a non-breakable space before them. Writing in French inside <template> returns the no-irregular-whitespace error.
Test for yourself:
<template>
<div>
Bonjour !
</div>
</template>
Is it a usecase eslint-plugin-vue can handle? Allowing whitespaces inside <template>?
Or, how am I supposed to deal with that?
Thanks!
The text was updated successfully, but these errors were encountered:
I think we need to add a new rule vue/no-irregular-whitespace dedicated to vue files to this plugin.
The vue/no-irregular-whitespace rule requires additional options to ignore inline values of attributes, and ignore HTML text content.
In French, double punctuation marks (;, :, ! and ?) take a non-breakable space before them. Writing in French inside
<template>
returns theno-irregular-whitespace
error.Test for yourself:
Is it a usecase
eslint-plugin-vue
can handle? Allowing whitespaces inside<template>
?Or, how am I supposed to deal with that?
Thanks!
The text was updated successfully, but these errors were encountered: