Skip to content
Marcos Caceres edited this page Mar 27, 2026 · 8 revisions

check-punctuation linting rule

Default: false

Warns when a <p> element does not end with punctuation. Helps maintain consistent typographic quality in specifications.

Example violation

<!-- BAD: paragraph ends without punctuation -->
<p>The widget is initialized during construction</p>

How to fix

Add a period (or other appropriate punctuation) at the end of the paragraph.

How to enable

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

How to disable

var respecConfig = {
  lint: { "check-punctuation": false },
};

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