@@ -10981,39 +10981,39 @@ The following patterns are considered problems:
10981
10981
function quux () {
10982
10982
10983
10983
}
10984
- // Message: Sentence should start with an uppercase character.
10984
+ // Message: Sentences should start with an uppercase character.
10985
10985
10986
10986
/**
10987
10987
* foo?
10988
10988
*/
10989
10989
function quux () {
10990
10990
10991
10991
}
10992
- // Message: Sentence should start with an uppercase character.
10992
+ // Message: Sentences should start with an uppercase character.
10993
10993
10994
10994
/**
10995
10995
* @description foo.
10996
10996
*/
10997
10997
function quux () {
10998
10998
10999
10999
}
11000
- // Message: Sentence should start with an uppercase character.
11000
+ // Message: Sentences should start with an uppercase character.
11001
11001
11002
11002
/**
11003
11003
* Foo)
11004
11004
*/
11005
11005
function quux () {
11006
11006
11007
11007
}
11008
- // Message: Sentence must end with a period.
11008
+ // Message: Sentences must end with a period.
11009
11009
11010
11010
/**
11011
11011
* `foo` is a variable
11012
11012
*/
11013
11013
function quux () {
11014
11014
11015
11015
}
11016
- // Message: Sentence must end with a period.
11016
+ // Message: Sentences must end with a period.
11017
11017
11018
11018
/**
11019
11019
* Foo.
@@ -11023,23 +11023,23 @@ function quux () {
11023
11023
function quux () {
11024
11024
11025
11025
}
11026
- // Message: Sentence should start with an uppercase character.
11026
+ // Message: Sentences should start with an uppercase character.
11027
11027
11028
11028
/**
11029
11029
* тест.
11030
11030
*/
11031
11031
function quux () {
11032
11032
11033
11033
}
11034
- // Message: Sentence should start with an uppercase character.
11034
+ // Message: Sentences should start with an uppercase character.
11035
11035
11036
11036
/**
11037
11037
* Foo
11038
11038
*/
11039
11039
function quux () {
11040
11040
11041
11041
}
11042
- // Message: Sentence must end with a period.
11042
+ // Message: Sentences must end with a period.
11043
11043
11044
11044
/**
11045
11045
* Foo
@@ -11049,7 +11049,7 @@ function quux () {
11049
11049
function quux () {
11050
11050
11051
11051
}
11052
- // Message: Sentence must end with a period.
11052
+ // Message: Sentences must end with a period.
11053
11053
11054
11054
/**
11055
11055
* Foo
@@ -11059,7 +11059,7 @@ function quux () {
11059
11059
11060
11060
}
11061
11061
// "jsdoc/require-description-complete-sentence": ["error"|"warn", {"newlineBeforeCapsAssumesBadSentenceEnd":true}]
11062
- // Message: A line of text is started with an uppercase character, but preceding line does not end the sentence.
11062
+ // Message: A line of text is started with an uppercase character, but the preceding line does not end the sentence.
11063
11063
11064
11064
/**
11065
11065
* Foo.
@@ -11069,7 +11069,7 @@ function quux () {
11069
11069
function quux (foo) {
11070
11070
11071
11071
}
11072
- // Message: Sentence should start with an uppercase character.
11072
+ // Message: Sentences should start with an uppercase character.
11073
11073
11074
11074
/**
11075
11075
* Foo.
@@ -11079,15 +11079,15 @@ function quux (foo) {
11079
11079
function quux (foo) {
11080
11080
11081
11081
}
11082
- // Message: Sentence should start with an uppercase character.
11082
+ // Message: Sentences should start with an uppercase character.
11083
11083
11084
11084
/**
11085
11085
* {@see Foo.bar} buz
11086
11086
*/
11087
11087
function quux (foo) {
11088
11088
11089
11089
}
11090
- // Message: Sentence should start with an uppercase character.
11090
+ // Message: Sentences should start with an uppercase character.
11091
11091
11092
11092
/**
11093
11093
* Foo.
@@ -11097,7 +11097,7 @@ function quux (foo) {
11097
11097
function quux (foo) {
11098
11098
11099
11099
}
11100
- // Message: Sentence should start with an uppercase character.
11100
+ // Message: Sentences should start with an uppercase character.
11101
11101
11102
11102
/**
11103
11103
* Foo.
@@ -11107,7 +11107,7 @@ function quux (foo) {
11107
11107
function quux (foo) {
11108
11108
11109
11109
}
11110
- // Message: Sentence should start with an uppercase character.
11110
+ // Message: Sentences should start with an uppercase character.
11111
11111
11112
11112
/**
11113
11113
* lorem ipsum dolor sit amet, consectetur adipiscing elit. pellentesque elit diam,
@@ -11120,31 +11120,31 @@ function quux (foo) {
11120
11120
function longDescription (foo) {
11121
11121
11122
11122
}
11123
- // Message: Sentence should start with an uppercase character.
11123
+ // Message: Sentences should start with an uppercase character.
11124
11124
11125
11125
/**
11126
11126
* @arg {number} foo - Foo
11127
11127
*/
11128
11128
function quux (foo) {
11129
11129
11130
11130
}
11131
- // Message: Sentence must end with a period.
11131
+ // Message: Sentences must end with a period.
11132
11132
11133
11133
/**
11134
11134
* @argument {number} foo - Foo
11135
11135
*/
11136
11136
function quux (foo) {
11137
11137
11138
11138
}
11139
- // Message: Sentence must end with a period.
11139
+ // Message: Sentences must end with a period.
11140
11140
11141
11141
/**
11142
11142
* @return {number} foo
11143
11143
*/
11144
11144
function quux (foo) {
11145
11145
11146
11146
}
11147
- // Message: Sentence should start with an uppercase character.
11147
+ // Message: Sentences should start with an uppercase character.
11148
11148
11149
11149
/**
11150
11150
* Returns bar.
@@ -11154,29 +11154,29 @@ function quux (foo) {
11154
11154
function quux (foo) {
11155
11155
11156
11156
}
11157
- // Message: Sentence should start with an uppercase character.
11157
+ // Message: Sentences should start with an uppercase character.
11158
11158
11159
11159
/**
11160
11160
* @throws {object} Hello World
11161
11161
* hello world
11162
11162
*/
11163
- // Message: Sentence must end with a period.
11163
+ // Message: Sentences must end with a period.
11164
11164
11165
11165
/**
11166
11166
* @summary Foo
11167
11167
*/
11168
11168
function quux () {
11169
11169
11170
11170
}
11171
- // Message: Sentence must end with a period.
11171
+ // Message: Sentences must end with a period.
11172
11172
11173
11173
/**
11174
11174
* @throws {SomeType} Foo
11175
11175
*/
11176
11176
function quux () {
11177
11177
11178
11178
}
11179
- // Message: Sentence must end with a period.
11179
+ // Message: Sentences must end with a period.
11180
11180
11181
11181
/**
11182
11182
* @see Foo
@@ -11185,7 +11185,7 @@ function quux () {
11185
11185
11186
11186
}
11187
11187
// "jsdoc/require-description-complete-sentence": ["error"|"warn", {"tags":["see"]}]
11188
- // Message: Sentence must end with a period.
11188
+ // Message: Sentences must end with a period.
11189
11189
11190
11190
/**
11191
11191
* @param foo Foo bar
@@ -11195,7 +11195,7 @@ function quux (foo) {
11195
11195
}
11196
11196
// Settings: {"jsdoc":{"tagNamePreference":{"description":false}}}
11197
11197
// "jsdoc/require-description-complete-sentence": ["error"|"warn", {"tags":["param"]}]
11198
- // Message: Sentence must end with a period.
11198
+ // Message: Sentences must end with a period.
11199
11199
11200
11200
/**
11201
11201
* Sorry, but this isn't a complete sentence, Mr.
@@ -11204,7 +11204,7 @@ function quux () {
11204
11204
11205
11205
}
11206
11206
// "jsdoc/require-description-complete-sentence": ["error"|"warn", {"abbreviations":["Mr"]}]
11207
- // Message: Sentence must end with a period.
11207
+ // Message: Sentences must end with a period.
11208
11208
11209
11209
/**
11210
11210
* Sorry, but this isn't a complete sentence Mr.
@@ -11213,7 +11213,7 @@ function quux () {
11213
11213
11214
11214
}
11215
11215
// "jsdoc/require-description-complete-sentence": ["error"|"warn", {"abbreviations":["Mr."]}]
11216
- // Message: Sentence must end with a period.
11216
+ // Message: Sentences must end with a period.
11217
11217
11218
11218
/**
11219
11219
* Sorry, but this isn't a complete sentence Mr.
@@ -11222,7 +11222,7 @@ function quux () {
11222
11222
11223
11223
}
11224
11224
// "jsdoc/require-description-complete-sentence": ["error"|"warn", {"abbreviations":["Mr"]}]
11225
- // Message: Sentence must end with a period.
11225
+ // Message: Sentences must end with a period.
11226
11226
11227
11227
/**
11228
11228
* Sorry, but this isn't a complete sentence Mr. and Mrs.
@@ -11231,7 +11231,7 @@ function quux () {
11231
11231
11232
11232
}
11233
11233
// "jsdoc/require-description-complete-sentence": ["error"|"warn", {"abbreviations":["Mr","Mrs"]}]
11234
- // Message: Sentence must end with a period.
11234
+ // Message: Sentences must end with a period.
11235
11235
11236
11236
/**
11237
11237
* This is a complete sentence. But this isn't, Mr.
@@ -11240,7 +11240,7 @@ function quux () {
11240
11240
11241
11241
}
11242
11242
// "jsdoc/require-description-complete-sentence": ["error"|"warn", {"abbreviations":["Mr"]}]
11243
- // Message: Sentence must end with a period.
11243
+ // Message: Sentences must end with a period.
11244
11244
11245
11245
/**
11246
11246
* This is a complete Mr. sentence. But this isn't, Mr.
@@ -11249,15 +11249,15 @@ function quux () {
11249
11249
11250
11250
}
11251
11251
// "jsdoc/require-description-complete-sentence": ["error"|"warn", {"abbreviations":["Mr"]}]
11252
- // Message: Sentence must end with a period.
11252
+ // Message: Sentences must end with a period.
11253
11253
11254
11254
/**
11255
11255
* This is a complete Mr. sentence.
11256
11256
*/
11257
11257
function quux () {
11258
11258
11259
11259
}
11260
- // Message: Sentence should start with an uppercase character.
11260
+ // Message: Sentences should start with an uppercase character.
11261
11261
11262
11262
/**
11263
11263
* This is fun, i.e. enjoyable, but not superlatively so, e.g. not
@@ -11266,7 +11266,7 @@ function quux () {
11266
11266
function quux () {
11267
11267
11268
11268
}
11269
- // Message: Sentence should start with an uppercase character.
11269
+ // Message: Sentences should start with an uppercase character.
11270
11270
11271
11271
/**
11272
11272
* Do not have dynamic content; e.g. homepage. Here a simple unique id
@@ -11275,7 +11275,7 @@ function quux () {
11275
11275
function quux () {
11276
11276
11277
11277
}
11278
- // Message: Sentence should start with an uppercase character.
11278
+ // Message: Sentences should start with an uppercase character.
11279
11279
11280
11280
/**
11281
11281
* Implements support for the
@@ -11284,7 +11284,7 @@ function quux () {
11284
11284
function speak() {
11285
11285
}
11286
11286
// "jsdoc/require-description-complete-sentence": ["error"|"warn", {"newlineBeforeCapsAssumesBadSentenceEnd":true}]
11287
- // Message: A line of text is started with an uppercase character, but preceding line does not end the sentence.
11287
+ // Message: A line of text is started with an uppercase character, but the preceding line does not end the sentence.
11288
11288
11289
11289
/**
11290
11290
* Foo.
@@ -11295,15 +11295,15 @@ function quux (foo) {
11295
11295
11296
11296
}
11297
11297
// "jsdoc/require-description-complete-sentence": ["error"|"warn", {"tags":["template"]}]
11298
- // Message: Sentence should start with an uppercase character.
11298
+ // Message: Sentences should start with an uppercase character.
11299
11299
11300
11300
/**
11301
11301
* Just a component.
11302
11302
* @param {Object} props Свойства.
11303
11303
* @return {ReactElement}.
11304
11304
*/
11305
11305
function quux () {}
11306
- // Message: Sentence must be more than punctuation.
11306
+ // Message: Sentences must be more than punctuation.
11307
11307
````
11308
11308
11309
11309
The following patterns are not considered problems:
@@ -11641,6 +11641,47 @@ export default (foo) => {
11641
11641
*/
11642
11642
function quux () {
11643
11643
11644
+ }
11645
+
11646
+ /**
11647
+ * He wanted a few items: a jacket and shirt...
11648
+ */
11649
+ function quux () {
11650
+
11651
+ }
11652
+
11653
+ /**
11654
+ * The code in question was...
11655
+ * ```
11656
+ * alert('hello');
11657
+ * ```
11658
+ */
11659
+ function quux () {
11660
+
11661
+ }
11662
+
11663
+ /**
11664
+ * @param {number|string|Date|Object|OverType|WhateverElse} multiType -
11665
+ * Nice long explanation...
11666
+ */
11667
+ function test (multiType) {
11668
+ }
11669
+
11670
+ /**
11671
+ * Any kind of fowl (e.g., a duck).
11672
+ */
11673
+ function quux () {}
11674
+
11675
+ /**
11676
+ * The code in question was...
11677
+ * ```
11678
+ * do something
11679
+ *
11680
+ * interesting
11681
+ * ```
11682
+ */
11683
+ function quux () {
11684
+
11644
11685
}
11645
11686
````
11646
11687
0 commit comments