JSPM

@htmllinter/basic-config

0.5.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q47400F

basic standard for htmllinter used for setting the standard the config

Package Exports

  • @htmllinter/basic-config

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@htmllinter/basic-config) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@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