webhint.io
A configuration file for hint
| Type | object |
|---|---|
| File match |
.hintrc
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/webhint-io/latest.json |
| Source | https://raw.githubusercontent.com/webhintio/hint/main/packages/hint/src/lib/config/config-schema.json |
Validate with Lintel
npx @lintel/lintel check
Type:
object
A configuration file for hint
Properties
connector
object | string
The connector to use to gather information
parsers
string[]
The parsers to be used with the connector to gather information for specific file types
uniqueItems=true
hintsTimeout
number
Time in milliseconds that a hint has to finish
browserslist
string[] | string
The browsers supported
language
string
Localization language
severityThreshold
errorlevelstring
Any of
1.
variant
2.
variant
Definitions
errorlevelstring
string
errorlevelnumber
number
hintconfig
array
hintobject
object
connector
object | string
The connector to use to gather information
extends
string[]
Base configuration to use.
formatters
string[]
The formatter(s) to use for the results
parsers
string[]
The parsers to be used with the connector to gather information for specific file types
hintsTimeout
number
Time in milliseconds that a hint has to finish
hints
hintobject | string | array[]
The hints to validate
browserslist
string[] | string
The browsers supported
ignoredUrls
object[]
The urls to ignore by the hints
language
string
Localization language
severityThreshold
string