htmlcsssublimetext3linthint

What is the difference between HTML Lint and HTML Hint?


What is the difference between HTML Lint and HTML Hint Sublime packages?

Both work within SublimeLinter and both appear to show errors or warnings in my HTML code. So is there a difference?

UPDATE From doing a bit more digging, it appears that both Lint and Hint are different words for the same thing: checking/validating/linting code.


Solution

  • They are both lint packages for HTML.

    Packages require unique names.

    Note: While I don't recommend it, it is possible to run both.
    In package.json

        "scripts": {
        ...
         "lint": "npm-run-all --parallel lint:ts lint:scss lint:html lint:html-tagban",
            "lint:html": "npx htmlhint \"**/*.html\"",
            "lint:html-tagban": "npx htmllint \"**/*.html\"",
            "lint:scss": "npx stylelint \"**/*.scss\" --cache",
            "lint:ts": "npx eslint \"**/*.ts\"",
    }