Getting started

Instant using

$ npx markuplint target.html

The required spec

  • Node.js v12.4.0 or later

Using in your project

Install markuplint to your project through NPM or Yarn on CLI:

$ npm install --save-dev markuplint
# or
$ yarn add -D markuplint

Add a command to the scripts option on package.json:

{
    "scripts": {
        "html:lint": "markuplint **/*.html"
    }
}

If you want to change the target path, you can change it for your project.

Execute the script:

$ npm run html:lint
# or
$ yarn html:lint

Using with Visual Studio Code

You can install it from Visual Studio Marketplace. Or search markuplint on the VS Code extension.