eslint-plugin-jsdoc

JSDoc specific linting rules for ESLint.

OTHER License

Downloads
9.7M
Stars
1.1K
Committers
104

Bot releases are visible (Hide)

eslint-plugin-jsdoc - v30.4.0

Published by gajus about 4 years ago

30.4.0 (2020-09-09)

Features

  • require-example: add exemptNoArguments option (#634) (c750c86)
eslint-plugin-jsdoc - v30.3.3

Published by gajus about 4 years ago

30.3.3 (2020-09-07)

Bug Fixes

  • require-param, check-param-names: check deeply destructured parameters (fixes #569) (#630) (428174d)
eslint-plugin-jsdoc - v30.3.2

Published by gajus about 4 years ago

30.3.2 (2020-09-06)

Bug Fixes

  • check-examples: disable jsdoc/require-file-overview by default; fixes #633 (dd4a985)
eslint-plugin-jsdoc - v30.3.1

Published by gajus about 4 years ago

30.3.1 (2020-09-02)

Bug Fixes

  • no-undefined-types: avoid checking private member of scopeManager; fixes #629 (d900a70)
eslint-plugin-jsdoc - v30.3.0

Published by gajus about 4 years ago

30.3.0 (2020-08-26)

Bug Fixes

  • no-bad-blocks: allow TypeScript directive comments (41dcc19)

Features

  • no-bad-blocks: make ignored tags customizable (a1e0c13)
eslint-plugin-jsdoc - v30.2.4

Published by gajus about 4 years ago

30.2.4 (2020-08-17)

Bug Fixes

  • check-param-names: avoid erring upon TSCallSignatureDeclaration; fixes #624 (8341f97)
eslint-plugin-jsdoc - v30.2.3

Published by gajus about 4 years ago

30.2.3 (2020-08-16)

Bug Fixes

  • no-defaults: adjust fixed AST to fully unset default as new comment-parser adjustment would otherwise not wholly remove the default; also updates devDeps and tests use of opening jsdoc; fixes #568 (5cbc823)
eslint-plugin-jsdoc - v30.2.2

Published by gajus about 4 years ago

30.2.2 (2020-08-13)

Bug Fixes

  • valid-types: Parse multiple names in template tags for non-jsdoc modes; fixes #622 (7818dde)
eslint-plugin-jsdoc - v30.2.1

Published by gajus about 4 years ago

30.2.1 (2020-08-05)

Bug Fixes

  • check-examples: disable jsdoc/require-jsdoc (88c93bb)
eslint-plugin-jsdoc - v30.2.0

Published by gajus about 4 years ago

30.2.0 (2020-08-04)

Features

  • require-param: add checkDestructuredRoots option; fixes #616 (3c06f09)
eslint-plugin-jsdoc - v30.1.0

Published by gajus about 4 years ago

30.1.0 (2020-07-31)

Features

  • check-param-names: add checkDestructured option to allow disabling of destructured checking; fixes part of #616 (c4d1b80)
eslint-plugin-jsdoc - v30.0.3

Published by gajus over 4 years ago

30.0.3 (2020-07-20)

Bug Fixes

  • require-jsdoc: handle MethodDefinition context without erring when using exemptEmptyFunctions and exemptEmptyConstructors; fixes #613 (08b5820)
eslint-plugin-jsdoc - v30.0.2

Published by gajus over 4 years ago

30.0.2 (2020-07-20)

Bug Fixes

  • require-jsdoc: ensure conditionally checking Property/ObjectProperty/ClassProperty as parents for arrow function expressions; fixes #612 (eac8357)
eslint-plugin-jsdoc - v30.0.1

Published by gajus over 4 years ago

30.0.1 (2020-07-20)

Bug Fixes

  • require-jsdoc: avoid error with checkConstructors: false when attempting to check tags; fixes #611 (854fb24)
eslint-plugin-jsdoc - v30.0.0

Published by gajus over 4 years ago

30.0.0 (2020-07-19)

Features

  • 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)

BREAKING CHANGES

  • check-types, no-undefined-types, valid-types: 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
eslint-plugin-jsdoc - v29.2.0

Published by gajus over 4 years ago

29.2.0 (2020-07-13)

Features

  • require-description: report more precisely the action to take when "body" descriptionStyle is set and where user has a desc/description tag; fixes #608 (#609) (69fd79d)
eslint-plugin-jsdoc - v29.1.4

Published by gajus over 4 years ago

29.1.4 (2020-07-12)

Bug Fixes

  • 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)
eslint-plugin-jsdoc - v29.1.3

Published by gajus over 4 years ago

29.1.3 (2020-07-09)

Bug Fixes

  • with fixers, create proper inner indent (of an additional space) when a tab is in use; fixes #607 (4dfbc8d)
eslint-plugin-jsdoc - v29.1.2

Published by gajus over 4 years ago

29.1.2 (2020-07-09)

Bug Fixes

  • check-param-names: ensure mismatching quoted vs. non-quoted tag name is not treated as an extra property (0c1c763)
  • require-param: Object destructuring in function parameters if key is string | number (quoted or otherwise) (1842fd2)
eslint-plugin-jsdoc - v29.1.1

Published by gajus over 4 years ago

29.1.1 (2020-07-09)

Bug Fixes

  • Object destructuring in function parameters if key is string (#599) (64e1b64)
Package Rankings
Top 0.88% on Npmjs.org
Top 6.73% on Proxy.golang.org
Badges
Extracted from project README
NPM version Travis build status js-canonical-style Discord Chat