New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a fixer for object-shorthand #6412
Comments
Hi @NickHeiner, your best bet is to wait until the issue is labeled "accepted" before starting a PR. It might not hurt to show a few examples of what the fixer output would look like. @eslint/eslint-team Thoughts on this proposal to add auto-fix to |
I can't think of any reason not to. 👍 |
This will probably be the most complex fixer that we have. I'm 👍 to try, just need to be careful. |
Ok, I'm trying it now. Thanks! |
#5439 might make this more difficult. |
I've been using the codemod for object-shorthand here: https://github.com/cpojer/js-codemod/blob/master/transforms/object-shorthand.js There might be some learnings that could be made from that code. |
👍 |
I would like to add a fixer for the
object-shorthand
property. I'll work on a PR for this now. Please let me know if you have any objections to this so I don't waste my time! Thanks.The text was updated successfully, but these errors were encountered: