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

standard style with jshint? #123

Closed
zeke opened this issue Apr 26, 2015 · 4 comments

Comments

@zeke
Copy link
Contributor

commented Apr 26, 2015

I'm using standard for some personal projects and loving it, but I have other projects with .jshintrc files that are not ready to be switched over to standard.

Is there a jshint equivalent of standard style that I can use in my ~/.jshintrc? This would allow me to keep using @sindresorhus' jshint Atom.io linter on all projects, and remove the project-specific .jshintrcfiles gradually.

@feross

This comment has been minimized.

Copy link
Member

commented Apr 26, 2015

I used jshint in the early versions of standard. You can try using that original .jshintrc, here: https://github.com/feross/standard/blob/3afa5e5dfe8578f161092291a1f4e42a56ef164c/rc/.jshintrc

However, it's pretty limited in what it will check.

Have you considered disabling the atom plugin for jshint and using the standard one instead? Then you can just fix things up as you notice them in your editor.

@zeke

This comment has been minimized.

Copy link
Contributor Author

commented Apr 27, 2015

Thanks, @feross. I will give that old .jshintrc a try.

I am using the standard atom plugin, but not liking it.

@zeke zeke closed this Apr 27, 2015

@Flet

This comment has been minimized.

Copy link
Member

commented Apr 27, 2015

@zeke have you tried standard-format (or just standard --format) to convert old projects yet? :)

@zeke

This comment has been minimized.

Copy link
Contributor Author

commented Apr 27, 2015

@Flet yes I have used standard --format and I love it. The main reason I can't fully switch is https://github.com/npm/newww, a project which has more stakeholders and would be a much bigger task to convert. But maybe one day..

@lock lock bot locked as resolved and limited conversation to collaborators May 11, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
3 participants
You can’t perform that action at this time.