You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ensures param names in jsdoc and in function declaration are equal
202
+
Checks param names in jsdoc and in function declaration are equal.
201
203
202
204
Type: `Boolean`
203
205
@@ -235,7 +237,7 @@ function method(message) {}
235
237
236
238
### requireParamTypes
237
239
238
-
Ensures params in jsdoc contains type
240
+
Checks params in jsdoc contains type.
239
241
240
242
Type: `Boolean`
241
243
@@ -271,7 +273,7 @@ function method() {}
271
273
272
274
### checkRedundantParams
273
275
274
-
Reports redundant params in jsdoc
276
+
Reports redundant params in jsdoc.
275
277
276
278
Type: `Boolean`
277
279
@@ -307,7 +309,7 @@ function method() {}
307
309
308
310
### checkReturnTypes
309
311
310
-
Reports discrepancies between the claimed in jsdoc and actual type if both exist (code scan)
312
+
Checks for differences between the jsdoc and actual return types if both exist.
311
313
312
314
Type: `Boolean`
313
315
@@ -350,7 +352,7 @@ function method(f) {
350
352
351
353
### checkRedundantReturns
352
354
353
-
Report statements for functions with no return
355
+
Report statements for functions without return.
354
356
355
357
Type: `Boolean`
356
358
@@ -390,7 +392,7 @@ function f() {
390
392
391
393
### requireReturnTypes
392
394
393
-
Ensures returns in jsdoc contains type
395
+
Checks returns in jsdoc contains type
394
396
395
397
Type: `Boolean`
396
398
@@ -431,11 +433,13 @@ function method() {}
431
433
432
434
### checkTypes
433
435
434
-
Reports invalid types for bunch of tags
436
+
Reports invalid types for bunch of tags.
435
437
436
-
In `strictNativeCase` mode ensures that case of natives is the same as in this list: `boolean`, `number`, `string`, `Object`, `Array`, `Date`, `RegExp`.
438
+
The `strictNativeCase` mode checks that case of natives is the same as in this
In `capitalizedNativeCase` mode ensures that first letter in all native types and primitives is uppercased except the case with `function` in google closure format: `{function(...)}`
441
+
The `capitalizedNativeCase` mode checks that the first letter in all native
442
+
types and primitives is uppercased except the case with `function` in google closure format: `{function(...)}`
439
443
440
444
Type: `Boolean` or `String`
441
445
@@ -503,7 +507,7 @@ var x = 1;
503
507
504
508
### checkRedundantAccess
505
509
506
-
Reports redundant access declarations
510
+
Reports redundant access declarations.
507
511
508
512
Type: `Boolean` or `String`
509
513
@@ -555,9 +559,11 @@ function _f() {}
555
559
556
560
### leadingUnderscoreAccess
557
561
558
-
Ensures access declaration is set for `_underscored` function names
562
+
Checks access declaration is set for `_underscored` function names
559
563
560
-
Ignores a bunch of popular identifiers: `__filename`, `__dirname`, `__proto__`, `__defineGetter__`, `super_`, `__constructor`, etc.
0 commit comments