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
The order-properties rule uses the disparity module to provide styled output. However, disparity uses terminal escape characters that are problematic. For one, the ESC characters used lead to invalid XML when generating results in junit format. But even the default text output doesn't seem to work in all terminals:
I'm not aware of any eslint rules that attempt to display a diff like this. Perhaps the output could be something like "the order of properties should be x, y, z" or "dependencies should be alphabetized." I'm not sure the minutiae of which exact line is in error really matters, since if there's any error users will probably just use --fix.
The text was updated successfully, but these errors were encountered:
Hmm, I don't reproduce this issue with VS Code 1.82.0 and zsh 5.8.1 on macOS Ventura 13.2. What shell/terminal/etc are you using @gabegorelick (if you're still interested in this ~3 years later)?
The
order-properties
rule uses thedisparity
module to provide styled output. However,disparity
uses terminal escape characters that are problematic. For one, the ESC characters used lead to invalid XML when generating results in junit format. But even the default text output doesn't seem to work in all terminals:I'm not aware of any eslint rules that attempt to display a diff like this. Perhaps the output could be something like "the order of properties should be x, y, z" or "dependencies should be alphabetized." I'm not sure the minutiae of which exact line is in error really matters, since if there's any error users will probably just use --fix.
The text was updated successfully, but these errors were encountered: