@hint/utils-types

Common types package

Usage no npm install needed!

<script type="module">
  import hintUtilsTypes from 'https://cdn.skypack.dev/@hint/utils-types';
</script>

README

Types utils (@hint/utils-types)

Set of common types used in webhint.

Installation

This package is installed automatically when adding webhint to your project so running the following is enough:

npm install hint --save-dev

Types

  • Category: Enum with the categories used for Hints
  • Problem: Type representing an Issue found in a Hints.
  • ProblemLocation: Type representing the location of a Problem.
  • Severity: Enum with the severities of a hint.
  • HttpHeaders: Type representing a HTTP Header.