Skip to content
Sid Vishnoi edited this page Jun 30, 2020 · 16 revisions

lint

A boolean used to enable/disable ReSpec's build-in linter for W3C documents. The linter is enabled by default, and warns you about:

  • URLs in the config that are not HTTPS.
  • Missing Privacy and/or Security sections.
  • Possibly other useful things...

If you want to turn off the linter:

var respecConfig = {
  lint: false,
};

The following lint rules are available:

Guides

Configuration options

W3C Configuration options

Linter rules

Internal properties

Handled by ReSpec for you.

Special <section> IDs

HTML elements

Custom Elements

WebIDL

HTML attributes

CSS Classes

Special properties

Clone this wiki locally