ricardofbarros / linter-js-standard

Atom linter plugin for JavaScript, using JavaScript Standard Style
https://atom.io/packages/linter-js-standard
MIT License
99 stars 48 forks source link

Show eslint rule that line is breaking in output #39

Closed qrohlf closed 9 years ago

qrohlf commented 9 years ago

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 commented 9 years ago

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

qrohlf commented 9 years ago

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 commented 9 years ago

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

ricardofbarros commented 9 years ago

Feature added on the last release (2.4.0)

Thank you for your input @qrohlf