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
Now that #897 is fixed (thanks for that!), I'm happily using the check-param-names rule in my codebase.
However, the rule gives false positives for the following code pattern:
/** * @param arg1 This is the description for arg1. */functionfoo(this: void,arg1: number): void;
Now that #897 is fixed (thanks for that!), I'm happily using the
check-param-names
rule in my codebase.However, the rule gives false positives for the following code pattern:
Here, the rule complains that "this" parameter is missing in the JSDoc. But that doesn't make any sense, as
this
isn't a real function parameter. This is explained in the TypeScript documentation for "declaring this in a function".Thus, I propose that this rule should be configured to ignore any arguments with a name of "this".
The text was updated successfully, but these errors were encountered: