@@ -0,0 +1,28 @@ /*eslint space-before-function-paren: "error"*/ /*eslint-env es6*/ function foo() { // ... } var bar = function() { // ... }; var bar = function foo() { // ... }; class Foo { constructor() { // ... } } var foo = { bar() { // ....
12 changes: 12 additions & 0 deletions 12 test/rules/space-before-function-paren/always/test.ts.fix Original file line numberDiff line numberDiff line change @@ -9,6 +9,8 @@ var f = function (): void { }; var f = function (a: string, cb: ()=>{}): void {}; function <...