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 - v29.1.0

Published by gajus over 4 years ago

29.1.0 (2020-07-08)

Features

  • check-types: allow two types (set one to the other in preferredTypes); make this the default for typescript with "object"/"Object" (82ca868)
eslint-plugin-jsdoc - v29.0.0

Published by gajus over 4 years ago

29.0.0 (2020-07-08)

chore

BREAKING CHANGES

    1. Adds spaces between union items per jsdoctypeparser update.
  1. Removes JSDuck support (unions with "/" instead of "|")

Also adds support in typescript mode for readonly and intersections (X & Y)

eslint-plugin-jsdoc - v28.7.0

Published by gajus over 4 years ago

28.7.0 (2020-07-08)

Features

  • require-jsdoc: add exemptEmptyConstructors and set true as default; fixes #600 (5409f25)
eslint-plugin-jsdoc - v28.6.1

Published by gajus over 4 years ago

28.6.1 (2020-07-01)

Bug Fixes

  • require-throws: arrow function expressions should check body only; fixes #597 (e5387f1)
eslint-plugin-jsdoc - v28.6.0

Published by gajus over 4 years ago

28.6.0 (2020-06-30)

Features

  • require-jsdoc: add enableFixer option; if set to false, will avoid fixer; fixes #372 (c39fd75)
eslint-plugin-jsdoc - v28.5.1

Published by gajus over 4 years ago

28.5.1 (2020-06-23)

Bug Fixes

  • valid-types: ensure checking property tags for valid namepath (0f5996b)
eslint-plugin-jsdoc - v28.5.0

Published by gajus over 4 years ago

28.5.0 (2020-06-23)

Bug Fixes

  • valid-types, no-undefined-types, check-types: have mode default to typescript when typescript-eslint/parser is on; fixes #593 (8e9195a)

Features

  • valid-types: for extends, package and access tags (e.g., private), report bracketed type in non-Closure mode; fixes #356 (c134928)
eslint-plugin-jsdoc - v28.4.0

Published by gajus over 4 years ago

28.4.0 (2020-06-23)

Features

  • valid-types, no-undefined-types: check module for namepath in non-"typescript" mode; fixes part of #356 (947836a)
eslint-plugin-jsdoc - v28.3.0

Published by gajus over 4 years ago

28.3.0 (2020-06-23)

Features

  • check-syntax: only check against Closure syntax in "jsdoc" and "typescript" mode; fixes part of #356 (8dfdd0b)
eslint-plugin-jsdoc - v28.2.0

Published by gajus over 4 years ago

28.2.0 (2020-06-23)

Features

  • check-tag-names: for "closure" mode, prefer "return" over "returns"; fixes part of #356 (fceb74c)
eslint-plugin-jsdoc - v28.1.0

Published by gajus over 4 years ago

28.1.0 (2020-06-23)

Features

  • valid-types: disallow namepath on interface tag for Closure mode; continue checking on jsdoc; fixes part of #356 (#587) (794aea8)
eslint-plugin-jsdoc - v28.0.0

Published by gajus over 4 years ago

28.0.0 (2020-06-21)

Features

  • check-types, no-undefined-types, valid-types: use mode-aware type parsing; fixes part of #356; fixes #495 (6341e27)
  • check-types, no-undefined-types, valid-types: use mode-aware type parsing; fixes part of #356; fixes #495 (#586) (f98a8e4)

BREAKING CHANGES

  • check-types, no-undefined-types, valid-types: Requires Node 10+

Also:

  1. Adds "permissive" mode
  2. Checks "param" for valid namepaths
  • check-types, no-undefined-types, valid-types: Requires Node 10+

Also:

  1. Adds "permissive" mode
  2. Checks "param" for valid namepaths
  3. Refactors to use updated/better Node 10+ syntax/packages
eslint-plugin-jsdoc - v27.1.2

Published by gajus over 4 years ago

27.1.2 (2020-06-18)

Bug Fixes

  • require-jsdoc: place comment block above any decorators; fixes #571 (d5f8159)
eslint-plugin-jsdoc - v27.1.1

Published by gajus over 4 years ago

27.1.1 (2020-06-17)

Bug Fixes

  • no-undefined-types: if no scope found, resume checking current node for template tags; fixes #578, fixes #579 (fed7586)
eslint-plugin-jsdoc - v27.1.0

Published by gajus over 4 years ago

27.1.0 (2020-06-17)

Features

eslint-plugin-jsdoc - v27.0.7

Published by gajus over 4 years ago

27.0.7 (2020-06-14)

Bug Fixes

  • check-param-names, require-param: handle ts constructor as arg; fixes #576 (bd11a73)
eslint-plugin-jsdoc - v27.0.6

Published by gajus over 4 years ago

27.0.6 (2020-06-11)

Bug Fixes

  • check-param-names: destructured parameters inclusion check (params containing other params as substrings); closes #575 (f29f9e2)
eslint-plugin-jsdoc - v27.0.5

Published by gajus over 4 years ago

27.0.5 (2020-06-08)

Bug Fixes

  • check-param-names, require-param: handle TSIndexSignature early to avoid throwing; fixes #570 (5b814fc)
eslint-plugin-jsdoc - v27.0.4

Published by gajus over 4 years ago

27.0.4 (2020-06-04)

Bug Fixes

  • check-types: ensure conversion to [] array type also wraps unions in parentheses; fixes #565 (5714411)
eslint-plugin-jsdoc - v27.0.3

Published by gajus over 4 years ago

27.0.3 (2020-06-04)

Bug Fixes

  • no-undefined-types: handle missing comment nodes on ancestors; fixes #561 (0bc67fc)
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