File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -1379,6 +1379,26 @@ function quux () {
1379
1379
}
1380
1380
// Settings: {"jsdoc":{"tagNamePreference":{"todo":55}}}
1381
1381
// Message: Invalid `settings.jsdoc.tagNamePreference`. Values must be falsy, a string, or an object.
1382
+
1383
+ /**
1384
+ * @property {object} a
1385
+ * @prop {boolean} b
1386
+ */
1387
+ function quux () {
1388
+
1389
+ }
1390
+ // Message: Invalid JSDoc tag (preference). Replace "prop" JSDoc tag with "property".
1391
+
1392
+ /**
1393
+ * @abc foo
1394
+ * @abcd bar
1395
+ */
1396
+ function quux () {
1397
+
1398
+ }
1399
+ // Settings: {"jsdoc":{"tagNamePreference":{"abc":"abcd"}}}
1400
+ // Options: [{"definedTags":["abcd"]}]
1401
+ // Message: Invalid JSDoc tag (preference). Replace "abc" JSDoc tag with "abcd".
1382
1402
````
1383
1403
1384
1404
The following patterns are not considered problems:
You can’t perform that action at this time.
0 commit comments