Merge pull request #367 from christophehurpeau/patch-1

18.6: blocks and blank line: add example with array
This commit is contained in:
Josh Perez
2015-07-17 13:13:20 -07:00

View File

@@ -1415,6 +1415,26 @@
};
return obj;
// bad
const arr = [
function foo() {
},
function bar() {
},
];
return arr;
// good
const arr = [
function foo() {
},
function bar() {
},
];
return arr;
```