Update prettier to v2 (#11579)

Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
This commit is contained in:
Bogdan Savluk
2020-06-07 22:21:33 +02:00
committed by GitHub
parent 426acf336e
commit 4108524856
147 changed files with 1018 additions and 1106 deletions

View File

@@ -92,7 +92,7 @@ export default declare((api, options) => {
},
};
visitor.JSXAttribute = function(path) {
visitor.JSXAttribute = function (path) {
if (t.isJSXElement(path.node.value)) {
path.node.value = t.jsxExpressionContainer(path.node.value);
}