You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you do? Please include the actual source code causing the issue.
Multiple presses of ctrl+s to autofix multiple eslint errors including comma-dangle and order-in-components rules.
What did you expect to happen?
That it would autofix and I can continue pressing ctrl+s to fix every eslint rule I have configured.
What actually happened? Please include the actual, raw output from ESLint.
It seems that the order-in-components rule is executed before trailing commas which results in a double comma at the end of my component methods. This in turn breaks the autofix feature all together. To continue autofixxing you need to remove 1 comma which eslint added because of comma-dangle. https://s8.postimg.cc/dplupgf2d/image.png
The text was updated successfully, but these errors were encountered:
Tell us about your environment
Please show your full configuration:
What did you do? Please include the actual source code causing the issue.
Multiple presses of ctrl+s to autofix multiple eslint errors including comma-dangle and order-in-components rules.
What did you expect to happen?
That it would autofix and I can continue pressing ctrl+s to fix every eslint rule I have configured.
What actually happened? Please include the actual, raw output from ESLint.
It seems that the order-in-components rule is executed before trailing commas which results in a double comma at the end of my component methods. This in turn breaks the autofix feature all together. To continue autofixxing you need to remove 1 comma which eslint added because of comma-dangle.
https://s8.postimg.cc/dplupgf2d/image.png
The text was updated successfully, but these errors were encountered: