Update prettier, eslint + plugins, flow, husky and lint-staged (#6183)
This commit is contained in:
2
packages/babel-types/src/react.js
vendored
2
packages/babel-types/src/react.js
vendored
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user