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, when run with the never option, seems to give an error about lines being aligned even if there is only one space between the @param tag, the parameter name and its description. If I add the type definition curly braces between @param and the parameter name the error disappears.
Expected behavior
No errors are given.
Actual behavior
The following error is given with the test code below:
/file/path/file.js
2:0 error Expected JSDoc block lines to not be aligned jsdoc/check-line-alignment
✖ 1 problem (1 error, 0 warnings)
1 error and 0 warnings potentially fixable with the `--fix` option.
The
check-line-alignment
rule, when run with thenever
option, seems to give an error about lines being aligned even if there is only one space between the@param
tag, the parameter name and its description. If I add the type definition curly braces between@param
and the parameter name the error disappears.Expected behavior
No errors are given.
Actual behavior
The following error is given with the test code below:
ESLint Config
ESLint sample
Environment
eslint-plugin-jsdoc
version: 32.3.1The text was updated successfully, but these errors were encountered: