Skip to content

Commit eb8edca

Browse files
committed
docs(newline-after-description): option explanation inverted; fixes #397
1 parent 6985ce5 commit eb8edca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.README/rules/newline-after-description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Enforces a consistent padding of the block description.
44

55
#### Options
66

7-
This rule allows one optional string argument. If it is `"always"` then a problem is raised when there is a newline after the description. If it is `"never"` then a problem is raised when there is no newline after the description. The default value is `"always"`.
7+
This rule allows one optional string argument. If it is `"always"` then a problem is raised when there is no newline after the description. If it is `"never"` then a problem is raised when there is a newline after the description. The default value is `"always"`.
88

99
|||
1010
|---|---|

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3396,7 +3396,7 @@ Enforces a consistent padding of the block description.
33963396
<a name="eslint-plugin-jsdoc-rules-newline-after-description-options-5"></a>
33973397
#### Options
33983398

3399-
This rule allows one optional string argument. If it is `"always"` then a problem is raised when there is a newline after the description. If it is `"never"` then a problem is raised when there is no newline after the description. The default value is `"always"`.
3399+
This rule allows one optional string argument. If it is `"always"` then a problem is raised when there is no newline after the description. If it is `"never"` then a problem is raised when there is a newline after the description. The default value is `"always"`.
34003400

34013401
|||
34023402
|---|---|

0 commit comments

Comments
 (0)