Skip to content

Support eslint-plugin-vue's disable comments #212

Open
@FloEdelmann

Description

@FloEdelmann

In Vue Single File Components (*.vue files), "HTML comments" can be used to disable ESLint rules: https://eslint.vuejs.org/rules/comment-directive.html

<template>
  <!-- eslint-disable-next-line vue/max-attributes-per-line -->
  <div a="1" b="2" c="3" d="4" />
</template>

Unfortunately, those comments are not detected by eslint-plugin-eslint-comments.

(Note: This issue is the same as #136, which was auto-closed as stale without a warning, but is still relevant.)

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