Fix block statement code style. (#3493)
This commit is contained in:
@@ -8,7 +8,7 @@ export default function ({ types: t }) {
|
||||
|
||||
return {
|
||||
visitor: {
|
||||
ExportDefaultDeclaration(path){
|
||||
ExportDefaultDeclaration(path) {
|
||||
if (!path.get("declaration").isClassDeclaration()) return;
|
||||
|
||||
let { node } = path;
|
||||
|
||||
Reference in New Issue
Block a user