Skip to content

SFC: Opening angle bracket in yaml value makes all rules pass #107

Closed
@wolfgangwalther

Description

@wolfgangwalther

When using an opening angle bracket followed by at least one character in a yaml SFC component, failures are not reported anymore. The following reports DONE No lint errors found!:

<i18n lang="yaml" locale="en">
unused: "<i"
</i18n>

<template>
  <div>
    {{ $t('missing') }}
  </div>
</template>

When changing this the value to "<" or "i", the two expected errors are thrown (error: unused 'unused' key (@intlify/vue-i18n/no-unused-keys) and error: 'missing' does not exist in 'en' (@intlify/vue-i18n/no-missing-keys))

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