Skip to content

Commit fd92de0

Browse files
committed
docs: generate docs
1 parent 9df8d71 commit fd92de0

File tree

1 file changed

+9
-46
lines changed

1 file changed

+9
-46
lines changed

README.md

Lines changed: 9 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -196,16 +196,7 @@ Use `settings.jsdoc.tagNamePreference` to configure a preferred alias name for a
196196
}
197197
```
198198

199-
<<<<<<< HEAD
200-
<<<<<<< HEAD
201199
One may also use an object with a `message` and `replacement`.
202-
=======
203-
One may also use an object with a `message` and `replacement`, with `{{tagName}}` and `{{preferredType}}` (or its alias `{{replacement}}`) as template variables to be
204-
=======
205-
One may also use an object with a `message` and `replacement`, with `{{tagName}}` and `{{preferredTag}}` (or its alias `{{replacement}}`) as template variables to be
206-
>>>>>>> fix var. name in docs
207-
substituted within `message`.
208-
>>>>>>> feat(check-tag-names): allow rejecting normally valid tag names and/or providing custom error messages when suggesting tags to reject or replace (fixes #108)
209200

210201
The following will report the message `@extends is to be used over @augments as it is more evocative of classes than @augments` upon encountering `@augments`.
211202

@@ -216,15 +207,7 @@ The following will report the message `@extends is to be used over @augments as
216207
"jsdoc": {
217208
"tagNamePreference": {
218209
"augments": {
219-
<<<<<<< HEAD
220-
<<<<<<< HEAD
221210
"message": "@extends is to be used over @augments as it is more evocative of classes than @augments",
222-
=======
223-
"message": "@{{replacement}} is to be used over @{{tagName}} as it is more evocative of classes than @augments",
224-
>>>>>>> feat(check-tag-names): allow rejecting normally valid tag names and/or providing custom error messages when suggesting tags to reject or replace (fixes #108)
225-
=======
226-
"message": "@{{replacement}} is to be used over @{{tagName}} as it is more evocative of classes than @{{tagName}}",
227-
>>>>>>> docs: Make consistent in case not removing templating
228211
"replacement": "extends"
229212
}
230213
}
@@ -1381,11 +1364,7 @@ function quux () {
13811364
function quux () {
13821365

13831366
}
1384-
<<<<<<< HEAD
13851367
// Settings: {"jsdoc":{"tagNamePreference":{"todo":{"message":"Please use x-todo instead of todo","replacement":"x-todo"}}}}
1386-
=======
1387-
// Settings: {"jsdoc":{"tagNamePreference":{"todo":{"message":"Please use {{replacement}} instead of {{tagName}}","replacement":"x-todo"}}}}
1388-
>>>>>>> feat(check-tag-names): allow rejecting normally valid tag names and/or providing custom error messages when suggesting tags to reject or replace (fixes #108)
13891368
// Message: Please use x-todo instead of todo
13901369

13911370
/**
@@ -1394,11 +1373,7 @@ function quux () {
13941373
function quux () {
13951374

13961375
}
1397-
<<<<<<< HEAD
13981376
// Settings: {"jsdoc":{"tagNamePreference":{"todo":{"message":"Please use x-todo instead of todo","replacement":"x-todo"}}}}
1399-
=======
1400-
// Settings: {"jsdoc":{"tagNamePreference":{"todo":{"message":"Please use {{preferredTagName}} instead of {{tagName}}","replacement":"x-todo"}}}}
1401-
>>>>>>> feat(check-tag-names): allow rejecting normally valid tag names and/or providing custom error messages when suggesting tags to reject or replace (fixes #108)
14021377
// Message: Please use x-todo instead of todo
14031378

14041379
/**
@@ -2496,7 +2471,7 @@ tag should be linted with the `matchDescription` value (or the default).
24962471
}
24972472
```
24982473

2499-
<a name="eslint-plugin-jsdoc-rules-match-description-options-1-maindescription"></a>
2474+
<a name="eslint-plugin-jsdoc-rules-match-description-options-2-maindescription"></a>
25002475
##### <code>mainDescription</code>
25012476

25022477
If you wish to override the main function description without changing the
@@ -2964,7 +2939,7 @@ const q = {
29642939

29652940
Enforces a consistent padding of the block description.
29662941

2967-
<a name="eslint-plugin-jsdoc-rules-newline-after-description-options-2"></a>
2942+
<a name="eslint-plugin-jsdoc-rules-newline-after-description-options-3"></a>
29682943
#### Options
29692944

29702945
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"`.
@@ -3124,7 +3099,7 @@ The following types are always considered defined.
31243099
- `any`, `*`
31253100
- `Array`, `Object`, `RegExp`, `Date`, `Function`
31263101

3127-
<a name="eslint-plugin-jsdoc-rules-no-undefined-types-options-3"></a>
3102+
<a name="eslint-plugin-jsdoc-rules-no-undefined-types-options-4"></a>
31283103
#### Options
31293104

31303105
An option object may have the following keys:
@@ -3720,7 +3695,7 @@ Requires that all functions have a description.
37203695
* All functions must have a `@description` tag.
37213696
* Every description tag must have a non-empty description that explains the purpose of the method.
37223697

3723-
<a name="eslint-plugin-jsdoc-rules-require-description-options-4"></a>
3698+
<a name="eslint-plugin-jsdoc-rules-require-description-options-5"></a>
37243699
#### Options
37253700

37263701
An options object may have any of the following properties:
@@ -3914,7 +3889,7 @@ Requires that all functions have examples.
39143889
* All functions must have one or more `@example` tags.
39153890
* Every example tag must have a non-empty description that explains the method's usage.
39163891

3917-
<a name="eslint-plugin-jsdoc-rules-require-example-options-5"></a>
3892+
<a name="eslint-plugin-jsdoc-rules-require-example-options-6"></a>
39183893
#### Options
39193894

39203895
Has an object option with one optional property:
@@ -4045,7 +4020,7 @@ function quux () {
40454020

40464021
Requires a hyphen before the `@param` description.
40474022

4048-
<a name="eslint-plugin-jsdoc-rules-require-hyphen-before-param-description-options-6"></a>
4023+
<a name="eslint-plugin-jsdoc-rules-require-hyphen-before-param-description-options-7"></a>
40494024
#### Options
40504025

40514026
This rule takes one optional string argument. If it is `"always"` then a problem is raised when there is no hyphen before the description. If it is `"never"` then a problem is raised when there is a hyphen before the description. The default value is `"always"`.
@@ -4151,11 +4126,7 @@ function quux () {
41514126
Checks for presence of jsdoc comments, on class declarations as well as
41524127
functions.
41534128

4154-
<<<<<<< HEAD
4155-
<a name="eslint-plugin-jsdoc-rules-require-jsdoc-options-7"></a>
4156-
=======
4157-
<a name="eslint-plugin-jsdoc-rules-require-jsdoc-options-6"></a>
4158-
>>>>>>> feat(check-tag-names): add `preferredTagsDefined` option to auto-allow tags in `tagNamePreference` setting; add `definedTags` option to replace `additionalTagNames.customTags` setting
4129+
<a name="eslint-plugin-jsdoc-rules-require-jsdoc-options-8"></a>
41594130
#### Options
41604131

41614132
Accepts one optional options object with the following optional keys.
@@ -5191,11 +5162,7 @@ function quux (foo) {
51915162

51925163
Requires that all function parameters are documented.
51935164

5194-
<<<<<<< HEAD
5195-
<a name="eslint-plugin-jsdoc-rules-require-param-options-8"></a>
5196-
=======
5197-
<a name="eslint-plugin-jsdoc-rules-require-param-options-7"></a>
5198-
>>>>>>> feat(check-tag-names): add `preferredTagsDefined` option to auto-allow tags in `tagNamePreference` setting; add `definedTags` option to replace `additionalTagNames.customTags` setting
5165+
<a name="eslint-plugin-jsdoc-rules-require-param-options-9"></a>
51995166
#### Options
52005167

52015168
An options object accepts one optional property:
@@ -6122,11 +6089,7 @@ function quux () {
61226089

61236090
Requires returns are documented.
61246091

6125-
<<<<<<< HEAD
6126-
<a name="eslint-plugin-jsdoc-rules-require-returns-options-9"></a>
6127-
=======
6128-
<a name="eslint-plugin-jsdoc-rules-require-returns-options-8"></a>
6129-
>>>>>>> feat(check-tag-names): add `preferredTagsDefined` option to auto-allow tags in `tagNamePreference` setting; add `definedTags` option to replace `additionalTagNames.customTags` setting
6092+
<a name="eslint-plugin-jsdoc-rules-require-returns-options-10"></a>
61306093
#### Options
61316094

61326095
- `exemptedBy` - Array of tags (e.g., `['type']`) whose presence on the document

0 commit comments

Comments
 (0)