Skip to content

htmlhint lints all files, not just HTML files #20

Description

@tukusejssirs

Describe the bug
htmlhint lints all files, not just HTML files.

To Reproduce
Steps to reproduce the behavior:

  1. Open a non-HTML file (e.g. Markdown, PHP, …)
  2. Open the linter log and see that it raises some errors (e.g. in my case it raises doctype-first and tag-pair errors.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
htmlhint lints only HTML.

Desktop (please complete the following information):

I don’t think this is OS-dependent, however, below is my platform:

  • OS: Fedora 31 x86_64
  • Browser n/a
  • Version SublimeLinter-contrib-htmlhint v2.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions