Refactor parsing object members (#9607)

* Refactor parsing object members

* Ensure decorators on rest don’t swallow decorators silently

* Use hasPrecedingLineBreak

* Add test for async with linebreak

* Update flow whitelist
This commit is contained in:
Daniel Tschinder
2019-02-28 11:42:12 -08:00
committed by GitHub
parent 208195f425
commit 98ab1b6428
51 changed files with 1060 additions and 179 deletions

View File

@@ -229,7 +229,7 @@ exports.updateWhitelist = function(filename, summary) {
return line;
})
.filter(function(line) {
return line !== null;
return line !== null && line !== "";
})
.concat(toAdd)
.sort()