@zthun/janitor-htmlhint-config
Version:
A shared configuration for htmlhint for @zthun scoped projects.
32 lines (22 loc) • 665 B
Markdown
# HTMLHint Config
This is the shared htmlhint configuration for zthun scoped projects. Note that
currently, as of htmlhint 0.14.x, extendable configs are not supported, but
janitor-lint indirectly adds support for it.
## Getting Started
```sh
# NPM
npm install @zthun/janitor-htmlhint-config --save-dev
# Yarn
yarn add @zthun/janitor-htmlhint-config --dev
```
## Usage
In the htmlhint config file, add the following
```json
{
"extends": ["@zthun/janitor-htmlhint-config"]
}
```
That's it. You now have the recommended rules for zthun scoped projects.
## HTMLHint
The actual HTMLHint application does NOT support the extends pattern without
janitor-lint.