Improve clarity of ESLint failure reports - #252
Open
andrewnicols wants to merge 1 commit into
Open
Conversation
|
🥳 |
Member
|
Oh, just came here after looking to #251 . Is this an alternative to it? In any case, it seems that some tests need to be amended to fulfil the new expected output (and also, to rebase this on top of current master). Ciao :-) |
andrewnicols
force-pushed
the
mdlsite-6748-improve_eslint_clarity
branch
from
August 8, 2022 08:26
13298f0 to
404561b
Compare
Contributor
Author
No, this change follows from that one and is based on it.
I amended existing tests which should cover this. |
andrewnicols
force-pushed
the
mdlsite-6748-improve_eslint_clarity
branch
from
September 27, 2022 04:29
404561b to
c79c408
Compare
stronk7
force-pushed
the
master
branch
4 times, most recently
from
March 9, 2023 17:38
7c835b9 to
0126fe3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As suggested by Brendan, I've added two things here:
I have also taken out the source from the brackets to make the line length shorter.
If there is no column, then the whole line is printed without any caret underneath.
Before:
After: