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

use standards new `--fix` tool #129

Open kyeotic opened 8 years ago

kyeotic commented 8 years ago

Standard v8 now has a --fix argument that automatically fixes a bunch of errors, even in ES6/babel files (which standard-format still has issues with). Since this is now part of standard natively, it would be nice if this linter added the ability to run this command on the current file, or all files.

ricardofbarros commented 8 years ago

Nice @tyrsius, I will implement that new argument asap. Thanks for the heads up

tunnckoCore commented 7 years ago

Progress?

ricardofbarros commented 7 years ago

Hey @tunnckoCore I'm not sure if this functionality should be present on this package, we already have a package that does this. https://atom.io/packages/standard-formatter

tunnckoCore commented 7 years ago

Yea, i seen that, but i hate to have tons of plugins or devDependencies, so I end up with just Linter-ESLint and its autofix feature.

flockonus commented 7 years ago

Would also love this feature as an option.. tried standard-formatter but it's not showing messages when it can't fix :/

laughedelic commented 7 years ago

While standart-formatter just formats the whole file, this package could offer fixes for particular issues using intentions API.

sonicdoe commented 2 years ago

I’ll keep this open. Even though it’s been a while, I think this is still a worthwhile feature request.