v30.0.0
30.0.0 (2020-07-19)
Features
check-types
,no-undefined-types
,valid-types
: AddstructuredTags
setting to control whether the type and namepath portions should be checked for validity and whether such portions are required, and to let user-defined "namepath-defining" tags be added to defined types. Closes #481 (89f2ad0)valid-types
: changeallowEmptyNamepaths
default tofalse
, ensuring tags which expect names per docs will be reported (842381a)
BREAKING CHANGES
check-types
,no-undefined-types
,valid-types
: DropscheckSeesForNamepaths
setting. Use{settings: {jsdoc: {structuredTags: {name: 'namepath', type: false, required: ['name'],}}}}
instead.
Also:
- Clarifies in more cases where a problem is specific to the mode or not
- Reports simultaneous invalid name and type errors
typdef
now requiresallowEmptyNamepaths: false,
to report empty names (as with other tags)- Requires a name for
event
andexternal
(andextends
in jsdoc mode); some tweaking of other tags per docs