Skip to content

check internal slots

Marcos Caceres edited this page Mar 28, 2026 · 1 revision

check-internal-slots

Default: false

Warns when an internal slot reference like |obj|[[slot]] is missing the required . separator — it should be |obj|.[[slot]].

Usage

var respecConfig = {
  lint: {
    "check-internal-slots": true,
  },
};

What it checks

<p>Set |request|[[credentials]] to "include".</p>
<!-- Should be: |request|.[[credentials]] -->

The correct pattern is |obj|.[[slot]] — the . makes clear that the slot is a property access on the object.

Notes

Guides

Configuration options

W3C Configuration options

Linting rules

Internal properties

Handled by ReSpec for you.

Special <section> IDs

HTML elements

Custom Elements

HTML attributes

CSS Classes

Special properties

Clone this wiki locally