Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit b19b33e

Browse files
dharknesshzoo
authored andcommitted
disallowKeywordsOnNewLine: fix documentation format
Two of the examples had an extra space before the comment `*` which messes up the generated documentation. Closes gh-2052
1 parent 0a921e9 commit b19b33e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rules/disallow-keywords-on-new-line.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* if (x < 0)
2727
* x++;
2828
* else
29-
* x--;
29+
* x--;
3030
* ```
3131
* ```js
3232
* if (x < 0) {
@@ -47,7 +47,7 @@
4747
* x++;
4848
* while(x < 0);
4949
* ```
50-
* ```js
50+
* ```js
5151
* do {
5252
* x++;
5353
* }

0 commit comments

Comments
 (0)