rules for function declarations #185

mvolkmann opened this Issue Jan 17, 2014 · 2 comments


None yet
2 participants

I thought the most common way of defining named functions was this:

function foo(bar, baz) {

Note the whitespace.
IIUC, there is no way to configure the rules to require this formatting.


mikesherov commented Jan 19, 2014

mdevils#88 is the current way to do this, but perhaps we need to add an option to requireSpacesInFunctionExpression.


mikesherov commented May 6, 2014

This exists as of 1.3.0. Thanks again for the report!

@mikesherov mikesherov closed this May 6, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment