Skip to content

Commit

Permalink
Update packages/eslint-plugin/src/rules/max-params.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
  • Loading branch information
StyleShit and JoshuaKGoldberg committed Oct 17, 2023
1 parent 80b6fc1 commit cfc6c29
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/eslint-plugin/src/rules/max-params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ export default util.createRule<Options, MessageIds>({
}

const params =
node.params[0] &&
node.params[0].type === AST_NODE_TYPES.Identifier &&
node.params[0].name === 'this' &&
node.params[0].typeAnnotation?.typeAnnotation.type ===
Expand Down

0 comments on commit cfc6c29

Please sign in to comment.