Update prettier, eslint + plugins, flow, husky and lint-staged (#6183)

This commit is contained in:
Daniel Tschinder
2017-08-31 22:56:29 +02:00
committed by GitHub
parent 6108bee4f9
commit 44f6ff5e85
15 changed files with 519 additions and 452 deletions

View File

@@ -3,7 +3,7 @@ import * as t from "./index";
export const isReactComponent = t.buildMatchMemberExpression("React.Component");
export function isCompatTag(tagName?: string): boolean {
return !!tagName && /^[a-z]|\-/.test(tagName);
return !!tagName && /^[a-z]|-/.test(tagName);
}
function cleanJSXElementLiteralChild(