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 upFixer for eslint-plugin-promise breaks code functionality #1194
Comments
This comment has been minimized.
This comment has been minimized.
|
Update:
Now just waiting on v4.0.1 patch release as per: xjamundx/eslint-plugin-promise#146 (review) |
This comment has been minimized.
This comment has been minimized.
|
v4.0.1 has been released and published, and this issue should now be fixed. Github release link: https://github.com/xjamundx/eslint-plugin-promise/releases/tag/v4.0.1 |
adrianmcli
closed this
Sep 7, 2018
lock
bot
locked as resolved and limited conversation to collaborators
Dec 6, 2018
This comment has been minimized.
This comment has been minimized.
|
Thanks @adrianmcli |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
adrianmcli commentedSep 7, 2018
What version of standard? v12.0.1
This problem stems from the
eslint-plugin-promiseproject, and specifically theparam-namesrule.Reproduction
Run the ESLint fixer on the following code:
Expected behavior:
Actual behavior:
Additional Information
Rather than trying to change people's code, I think it's better to remove the fixer rather than change variable names everywhere. I have submitted an issue to the eslint-plugin-promise repo: xjamundx/eslint-plugin-promise#145
If and when there is a resolution to that issue, we should take steps to update accordingly.