Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove unused catch binding #6048
Awesome (regarding where this goes, making the PR wherever is fine), I was almost thinking maybe each proposal should include the codemod version of itself too, but then I guess it would be hard to use since you need a cli... So maybe it would be better (later) as part of another tool like lebab/babel-update.
… now passing Took out the pass in visitor when param not an Identifier, wrote case to handle when param isObjectPattern, and wrote failing tests for when param isArrayPattern
hzoo left a comment
code itself looks good, just was thinking about how we want to publish this/users to consume - we can always change it after merge too. Not sure it should be a part of the packages/* - maybe we should move to a codemods/ folder? Ideally, users would just use a npx command to use it, and ultimately lebab would be the tool to do so?