Permalink
Browse files

Docs: Update capitalized-comments with missing letters (fixes #10135) (

  • Loading branch information...
jasonfry authored and platinumazure committed Mar 28, 2018
1 parent 9e66bfb commit 9c791746ba633016bebf189682013dd3fc352326
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/rules/capitalized-comments.md
@@ -175,7 +175,7 @@ If the `ignoreConsecutiveComments` option is set to `true`, then comments which
Examples of **correct** code with `ignoreConsecutiveComments` set to `true`:
```js
/* eslint capitalize-comments: ["error", "always", { "ignoreConsecutiveComments": true }] */
/* eslint capitalized-comments: ["error", "always", { "ignoreConsecutiveComments": true }] */
// This comment is valid since it has the correct capitalization.
// this comment is ignored since it follows another comment,
@@ -191,7 +191,7 @@ Examples of **correct** code with `ignoreConsecutiveComments` set to `true`:
Examples of **incorrect** code with `ignoreConsecutiveComments` set to `true`:
```js
/* eslint capitalize-comments: ["error", "always", { "ignoreConsecutiveComments": true }] */
/* eslint capitalized-comments: ["error", "always", { "ignoreConsecutiveComments": true }] */
// this comment is invalid, but only on this line.
// this comment does NOT get reported, since it is a consecutive comment.

0 comments on commit 9c79174

Please sign in to comment.