JSDoc specific linting rules for ESLint.
OTHER License
Bot releases are hidden (Show)
Published by gajus over 4 years ago
MethodDefinition
(including with any
) is the context; fixes #534 (1a69565)MethodDefinition
context (82fb8c9)Published by gajus over 4 years ago
[@arg](https://github.com/arg)
jsdoc param names if preferred (35088cb)checkRestProperty
(and docs/tests) (7ce31e0)checkTypesPattern
(with docs, tests, and schema) (06add2f)...any
for rest properties).Works with renamed parameters and defaults and has special handling for rest elements/properties and type annotations.
For require-param
: Adds options unnamedRootBase
, autoIncrementBase
, checkRestProperty
, enableFixer
, enableRootFixer
, enableRestElementFixer
, checkTypesPattern
For check-param-names
: Add options checkRestProperty
and checkTypesPattern
Also ensures indent is relative to applicable node, not whole source code; fix indents in tests
For testing, add output
and cover more cases.
Published by gajus over 4 years ago
inheritDoc
in all modes while only allowing inheritdoc
in non-Closure mode; fixes #520 (48fc58b)avoidExampleOnConstructors
option. (e5236a2)inheritDoc
in all modes while only allowing inheritdoc
in non-Closure mode; fixes #520" (d97c8f0), closes #520
avoidExampleOnConstructors
forrequire-example
rule by checkConstructors
Also makes build-call platform independent and ensures env-variables work an all platforms.
Published by gajus over 4 years ago
require-description
, require-example
, require-param
, require-returns
: cause exemptedBy
to overwrite inheritdoc
exempting; closes #510 (a402330)require-description
, require-example
, require-param
, require-returns
: While still defaulting to having inheritdoc
exempt rules, for the impacted rules,exemptedBy
options array one must now explicitly add"inheritdoc"
to get the exemption for that tag as well. This change allowsinheritdoc
from the array so as to cause its presence not to