Skip to content

Commit 5129f67

Browse files
committed
docs: generate docs
1 parent b8e2085 commit 5129f67

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,26 @@ function quux () {}
671671
function quux () {}
672672
// Settings: {"jsdoc":{"allowInlineConfig":false,"baseConfig":{"rules":{"semi":["error","always"]}},"eslintrcForExamples":false,"noDefaultExampleRules":true}}
673673
// Message: @example error (semi): Missing semicolon.
674+
675+
/**
676+
* @example quux2()
677+
*/
678+
function quux2 () {
679+
680+
}
681+
// Settings: {"jsdoc":{"matchingFileName":"test/jsdocUtils.js"}}
682+
// Message: @example error (semi): Missing semicolon.
683+
684+
/**
685+
* @example // begin
686+
alert('hello')
687+
// end
688+
*/
689+
function quux () {
690+
691+
}
692+
// Settings: {"jsdoc":{"baseConfig":{"rules":{"semi":["warn","always"]}},"eslintrcForExamples":false,"exampleCodeRegex":"// begin[\\s\\S]*// end","noDefaultExampleRules":true}}
693+
// Message: @example warning (semi): Missing semicolon.
674694
````
675695

676696
The following patterns are not considered problems:

0 commit comments

Comments
 (0)