JSDoc specific linting rules for ESLint.
OTHER License
Bot releases are hidden (Show)
Published by gajus over 4 years ago
check-types
, no-undefined-types
, valid-types
: Add structuredTags
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
: change allowEmptyNamepaths
default to false
, ensuring tags which expect names per docs will be reported (842381a)check-types
, no-undefined-types
, valid-types
: Drops checkSeesForNamepaths
setting. Use {settings: {jsdoc: {structuredTags: {name: 'namepath', type: false, required: ['name'],}}}}
instead.Also:
typdef
now requires allowEmptyNamepaths: false,
to report empty names (as with other tags)event
and external
(and extends
in jsdoc mode); some tweaking of other tags per docsPublished by gajus over 4 years ago
check-types
, no-undefined-types
, valid-types
: In jsdoc mode, ensure this
only checked for namepath; in TypeScript or Closure, ensure this
checked only for type (ef7b294)check-types
, no-undefined-types
, valid-types
: In TypeScript or Closure, add template
for checking of optional type and namepath (e305cce)Published by gajus over 4 years ago
Published by gajus over 4 years ago