Skip to content

Validate annotation tag names #18

@pigulla

Description

@pigulla

It would be nice if the plugin could also validate annotation names, e.g.:

/**
 * @pubblic
 */

would fail because no such tag exists (typo).

Ideally, there would be various ways to configure this:

"jsDoc": {
    "checkAnnotations": "jsdoc"  // whitelists JSDoc tags
    // or
    "checkAnnotations": "jsduck"  // whitelists JSDuck tags
    // or
    "checkAnnotations": "closurecompiler"  // whitelist Closure Compiler tags
}

Might be a good idea to add version support from the get-go, so use jsdoc3, jsduck4, jsduck5 etc.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions