-
Notifications
You must be signed in to change notification settings - Fork 78
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
How do I disable function() to function () fix #97
Comments
that shouldn't be happening. can you add a failing test case? |
|
That's expected behavior. According to Crockford's original whitespace rules (which JSHINT inherited from) he mentions that there should be a space after function so this tool follows that advice.
|
So there is no way to disable? |
Change your jshint settings to I hope to split the two someday, right now, no there is no way to disable certain parts of the style guide -- it's an all or nothing affair :( Send a pull request if you have any ideas though. |
Is the problem that escodegen adds the spaces? How about using esformatter? |
+1 to the issue. I'd love to turn it off. |
#110 should solve this issue. |
I love this tool but cant seem to find the JSHint declaration for this -
I'd rather
function someFunction()
not be changed tofunction someFunction ()
Thanks
The text was updated successfully, but these errors were encountered: