Type object
File match .htmlvalidate.json
Schema URL https://catalog.lintel.tools/schemas/schemastore/htmlvalidate/latest.json
Source https://html-validate.org/schemas/config.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

$schema string
root boolean

If this is set to true no further configurations will be searched.

Default: false
extends string[]

Array of shareable or builtin configurations to extend.

elements string | object[]

Array of modules, plugins or files to load element metadata from. Use to refer to the folder with the package.json file.

Examples: ["html-validate:recommended","plugin:recommended","module","./local-file.json"]
plugins string | object[]

Array of plugins load. Use to refer to the folder with the package.json file.

Examples: ["my-plugin","./local-plugin"]
transform Record<string, string>

Object where key is regular expression to match filename and value is name of transformer or a function.

Examples: {"^.*\\.foo$":"my-transformer","^.*\\.bar$":"my-plugin","^.*\\.baz$":"my-plugin:named"}
rules object

Enable/disable rules, set severity. Some rules have additional configuration like style or patterns to use.

Examples: {"foo":"error","bar":"off","baz":["error",{"style":"camelcase"}]}