-
Notifications
You must be signed in to change notification settings - Fork 26
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
.jshintrc file? #7
Comments
Thats a good idea, I have just been changing the default inlines, it should be as simple as auto prepending the contents of a .jshintrc file I would like to get this a bit less of a hack and improve the install process etc |
That's an excellent idea and didn't occur to me... |
I'm sorry but where is the default options ? I see an empty dict passed as below function lintify(mode, sourcedata, filename) {
var passed = hinters[mode](sourcedata, {});
return passed ? "js: No problems found in " + filename + "\n"
: outputErrors(hinters[mode].errors);
} |
You could check out my pull request #9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So I'm not very familiar with all of this, and I'm really just sort of hacking at it to get it running, which I've managed to do. What I'm curious about is if there a way to set up a .jshintrc file that will contain all of the defaults that I want rather than placing them at the top of each .js file?
Can this be done? Can someone tell me how it would be done?
Sorry if this is a boneheaded question, (Or the incorrect place to ask)
Thanks
Matt
The text was updated successfully, but these errors were encountered: