Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@hint/utils-types

webhintio169.9kApache-2.01.2.1TypeScript support: included

Common types package

hint, hint-utils-types, types, utils, webhint

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.