You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The check-line-alignment rule, with the always option, gives an error when there is only one space between the @param tag and the parameter name if there is no type definition in between. The same issue occurs with the @return tag in this context. The error goes away if there are instead 2 spaces between the tag and the next word.
I noticed issue #714 is similar, but that applies to the never option and only the @param tag.
Expected behavior
No errors are given.
The two spaces seems to be there for the type definition to go between, but in a Typescript project the jsdoc type definitions are redundant and unnecessary.
Actual behavior
The following error is given for either test case below:
Expected JSDoc block lines to be aligned jsdoc/check-line-alignment
The
check-line-alignment
rule, with thealways
option, gives an error when there is only one space between the@param
tag and the parameter name if there is no type definition in between. The same issue occurs with the@return
tag in this context. The error goes away if there are instead 2 spaces between the tag and the next word.I noticed issue #714 is similar, but that applies to the
never
option and only the@param
tag.Expected behavior
No errors are given.
The two spaces seems to be there for the type definition to go between, but in a Typescript project the jsdoc type definitions are redundant and unnecessary.
Actual behavior
The following error is given for either test case below:
ESLint Config
ESLint sample
Environment
eslint-plugin-jsdoc
version: 39.3.2The text was updated successfully, but these errors were encountered: