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
With the latest changes @parm and @returns are automatically added on lint:fix. This causes my source code to bloat up. I usually use comments like this in one line to quickly annotate the use case of a functionality and be able to see it then in VSCode as a tooltip. Example:
/** Calculates the sum of `a` and `b` */functionsum(a: number,b: number): number{returna+b}
This now becomes:
/** * Calculates the sum of `a` and `b` * @param a * @param b */functionsum(a: number,b: number): number{returna+b}
I am actually fine to disable that rule. The introduction of jsdoc plugin is more for formatting and enforcing such params is not intended. If you can find which rule causing it, feel free to send a pr to turn it off
holtwick
added a commit
to holtwick/eslint-config
that referenced
this issue
Sep 13, 2023
Describe the bug
This is not really a bug, more a request.
With the latest changes
@parm
and@returns
are automatically added onlint:fix
. This causes my source code to bloat up. I usually use comments like this in one line to quickly annotate the use case of a functionality and be able to see it then in VSCode as a tooltip. Example:This now becomes:
4 additional lines ;)
Tooltip in VSCode:
Reproduction
See description.
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: