Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

rules for function declarations #185

Closed
mvolkmann opened this Issue · 2 comments

2 participants

@mvolkmann

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
Owner

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

@mikesherov
Owner

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

@mikesherov mikesherov closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.