JSDoc specific linting rules for ESLint.
OTHER License
Bot releases are visible (Hide)
Published by gajus over 4 years ago
tags
option for setting specific tags (or any tags) to follow rules for or against hyphen descriptions; now allows property to be set differently than param; fixes #553 (a764861){checkProperties: true}
should be replaced by: {tags: {'property': 'always|never'}}
Published by gajus over 4 years ago
newlineBeforeCapsAssumesBadSentenceEnd
which when false
(the new default) will not assume caps after newlines is a bad sentence end. (7d4c399)newlineBeforeCapsAssumesBadSentenceEnd
must be set to true
. This was changed from the default to decrease the false positives when capitalized letters on newlines merely represent proper nouns, etc.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.