Run new lint rules (#5413)
This commit is contained in:
@@ -55,7 +55,7 @@ export default function ({ types: t }) {
|
||||
this.sources.push([id.node, source]);
|
||||
|
||||
path.remove();
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
return {
|
||||
@@ -104,7 +104,7 @@ export default function ({ types: t }) {
|
||||
const { node } = path;
|
||||
const factory = buildFactory({
|
||||
PARAMS: params,
|
||||
BODY: node.body
|
||||
BODY: node.body,
|
||||
});
|
||||
factory.expression.body.directives = node.directives;
|
||||
node.directives = [];
|
||||
@@ -112,10 +112,10 @@ export default function ({ types: t }) {
|
||||
node.body = [buildDefine({
|
||||
MODULE_NAME: moduleName,
|
||||
SOURCES: sources,
|
||||
FACTORY: factory
|
||||
FACTORY: factory,
|
||||
})];
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user