ga-wdi-boston/express-api-template-ARCHIVED

Allow spaces in method shorthand syntax

jrhorn424 opened this issue · 0 comments

Currently:

var y = {
-    fn () {    // BAD
+    fn() {     // GOOD
       return 42;
    }
}

I prefer the space (as does Ember), but I don't mind if it is missing. Change to .jscsrc, please add alphabetically by key:

+   "disallowSpaceAfterObjectKeys": {
+    "allExcept": ["method"] 
+  },