angular/angular.js — pull request #9708 by eltacodeldiablo (2014-10-21 02:08:35+00:00)
Title: Add jscs rule for function spacing

Add rule disallowSpacesInFunctionDeclaration beforeOpeningRoundBrace.

```
function a() {

};
```

Add rule disallowSpacesInNamedFunctionExpression beforeOpeningRoundBrace.

```
var a = function a() {

}
```

Add rule requireSpacesInFunction beforeOpeningCurlyBrace. Applies to all types of functions.

Didn't include spacing for round brace for anonymous functions yet.
Checking only anonymous function expressions: for `function (e)`, got 1121 times.
Checking only anonymous function expressions: for `function(e)`, got 9159 times.

cc: @caitp @petebacondarwin