Skip to content

Prevent converting functions that declare this parameters#1

Merged
smartinio merged 2 commits into
mainfrom
codex/fix-eslint-rule-bug-with-this-argument
Sep 22, 2025
Merged

Prevent converting functions that declare this parameters#1
smartinio merged 2 commits into
mainfrom
codex/fix-eslint-rule-bug-with-this-argument

Conversation

@smartinio
Copy link
Copy Markdown

Summary

  • skip transforming functions that declare this as their first parameter to avoid generating invalid arrow functions
  • cover functions with this parameters in the valid rule tests

Testing

  • pnpm test

https://chatgpt.com/codex/tasks/task_b_68cf9aa99d28832286a89c715775f75c

@smartinio smartinio marked this pull request as ready for review September 22, 2025 01:21
@smartinio smartinio merged commit 16230e3 into main Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant