forked from gajus/eslint-plugin-jsdoc
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(
check-types
, no-undefined-types
, valid-types
): Add `struct…
…uredTags` 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 gajus#481 BREAKING CHANGE: Drops `checkSeesForNamepaths` setting. Use `{settings: {jsdoc: {structuredTags: {name: 'namepath', type: false, required: ['name'],}}}}` instead. Also: 1. Clarifies in more cases where a problem is specific to the mode or not 2. Reports simultaneous invalid name *and* type errors 3. `typdef` now requires `allowEmptyNamepaths: false,` to report empty names (as with other tags) 4. Requires a name for `event` and `external` (and `extends` in jsdoc mode); some tweaking of other tags per docs
- Loading branch information
Showing
17 changed files
with
1,458 additions
and
384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.