Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show eslint rule that line is breaking in output #39

Closed
qrohlf opened this issue Aug 5, 2015 · 4 comments
Closed

Show eslint rule that line is breaking in output #39

qrohlf opened this issue Aug 5, 2015 · 4 comments

Comments

@qrohlf
Copy link

qrohlf commented Aug 5, 2015

It would be great if linter-js-standard could show the rule name that a line is violating. This helps if you need to manually disable a specific rule for a line.

Sublime's linter-standard does this like so for a line that is breaking the 'react/prop-types' rule:

screen shot 2015-08-05 at 9 20 05 am

@ricardofbarros
Copy link
Owner

Yeah sure it does make sense and it's very doable. But only if the user can enable/disable showing the rule name

@qrohlf
Copy link
Author

qrohlf commented Aug 5, 2015

the sublime linter accomplishes this by passing the --verbose option to the standard bin. Perhaps a config option that allows the user to supply custom arguments to the selected linter would make sense?

@ricardofbarros
Copy link
Owner

Yeah I know I pass it as well but I choose to left it out from the actual message

@ricardofbarros
Copy link
Owner

Feature added on the last release (2.4.0)

Thank you for your input @qrohlf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants