Open kyeotic opened 8 years ago
Nice @tyrsius, I will implement that new argument asap. Thanks for the heads up
Progress?
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
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.
Would also love this feature as an option.. tried standard-formatter
but it's not showing messages when it can't fix :/
While standart-formatter just formats the whole file, this package could offer fixes for particular issues using intentions API.
I’ll keep this open. Even though it’s been a while, I think this is still a worthwhile feature request.
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.