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

use standards new --fix tool #129

Open
kyeotic opened this issue Jul 25, 2016 · 7 comments
Open

use standards new --fix tool #129

kyeotic opened this issue Jul 25, 2016 · 7 comments

Comments

@kyeotic
Copy link

kyeotic commented Jul 25, 2016

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
Copy link
Owner

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

@tunnckoCore
Copy link

Progress?

@ricardofbarros
Copy link
Owner

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
Copy link

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
Copy link

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

@laughedelic
Copy link

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

@sonicdoe
Copy link
Collaborator

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

@sonicdoe sonicdoe reopened this Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants