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 upInclude violated rule name in output #512
Comments
This comment has been minimized.
This comment has been minimized.
|
You can get the rule name by running |
feross
closed this
May 5, 2016
This comment has been minimized.
This comment has been minimized.
|
Ok, but it'd still be nice to change the current output, |
This comment has been minimized.
This comment has been minimized.
|
I have yet to come up with one single case where I have had to ignore a rule, I don't think it should be in the output since we don't want to encourage anyone to do it. The real solution is to fix the problem, not ignore it... |
lock
bot
locked as resolved and limited conversation to collaborators
May 10, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
matthewadams commentedMay 5, 2016
I'm getting output from standard that doesn't include the name of the violated rule:
This makes it difficult to conveniently add an
// eslint-ignore-lineor// eslint-ignore-next-linedirective to include the name of the violated rule (which, in this case isaccessor-pairs). For example:would make it pretty easy to add.
Bonus points for emitting not just the rule name, but also something like
to ignore: // eslint-ignore-line ..for quick copy & paste. For example, the above output could be augmented with: