JSPM

  • Created
  • Published
  • Downloads 22208
  • Score
    100M100P100Q145928F
  • License Apache-2.0

A hint formatter that outputs the issues in an HTML file.

Package Exports

  • @hint/formatter-html
  • @hint/formatter-html/dist/src/formatter.js

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 (@hint/formatter-html) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

HTML (@hint/formatter-html)

The html formatter outputs the result in a HTML file.

Example output for the html formatter

A new folder hint-report will be created with the results.

This package is installed automatically by webhint:

npm install hint --save-dev

To use it, activate it via the .hintrc configuration file:

{
    "connector": {...},
    "formatters": ["html"],
    "hints": {
        ...
    },
    ...
}

Note: The recommended way of running webhint is as a devDependency of your project.