Run new lint rules (#5413)

This commit is contained in:
Brian Ng
2017-03-04 09:46:01 -06:00
committed by Henry Zhu
parent f7e2d88f6c
commit 8a82cc060a
181 changed files with 1459 additions and 1454 deletions

View File

@@ -7,7 +7,7 @@ export function _params(node: Object) {
iterator: (node) => {
if (node.optional) this.token("?");
this.print(node.typeAnnotation, node);
}
},
});
this.token(")");
@@ -18,7 +18,7 @@ export function _params(node: Object) {
export function _method(node: Object) {
const kind = node.kind;
const key = node.key;
const key = node.key;
if (kind === "method" || kind === "init") {
if (node.generator) {