npm.io
0.5.1 • Published 6 years ago

@htmllinter/basic-config

Licence
Version
0.5.1
Deps
2
Size
5 kB
Vulns
0
Weekly
0
Stars
20

@htmllinter/basic-config

Installation

npm @htmllinter/core @htmllinter/basic-config

Usage

In your root directory (recommmended), create a file name htmllinter.config.js (this filename is must and non-replaceable)

htmllinter.config.js

module.exports = {
  extend: require('@htmllinter/basic-config'),
};

Add a script for linting in your package.json


"scripts"{
  "lint:html":"htmllinter input.html"
}

Run

Run the following command in your terminal

npm run lint:html

# or using yarn

yarn lint:html

Keywords