Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

".htmlhintrc" breaks it #78

@yilmazdurmaz

Description

@yilmazdurmaz

hey there,

just installed the extension, nice one. then tried to use ".htmlhintrc". anything in it, valid or not, just causes "no problems detected" result.

i was following a video, and the example is a very basic one. create a new html file, use emmet to create basic content, then change some things to cause errors, and try to suppress some in rc file.

i changed closing body tag to bodx, so i now see "tag pair" error. then removed whole title element and see "title needed" error.

then create ".htmlhintrc" file and tried to put {"title-require":false} in it, failed to write and got typo {"tittle-require":false} and voila, the bug.

even tough, i have typo in rc file, suddenly all errors are gone. even after correcting that type, the result was the same: "no problems detected".

I later tried with random test content in rc, even {"a":"a"}, and now i am sure it is not working as desired.

HTMLhint: "0.8.0"
VSCode: "1.41.1" and "1.47.1" (both windows x64)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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