Skip to content

The "no-irregular-whitespace" rule prevents proper typography #926

Closed
@iamvdo

Description

@iamvdo

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions