Run prettier

This commit is contained in:
Brian Ng
2017-06-27 12:15:00 -05:00
parent 93cc22dae1
commit e4b35f680d
307 changed files with 6742 additions and 4080 deletions

View File

@@ -1,8 +1,11 @@
export default function ({ parse, traverse }) {
export default function({ parse, traverse }) {
return {
visitor: {
CallExpression(path) {
if (path.get("callee").isIdentifier({ name: "eval" }) && path.node.arguments.length === 1) {
if (
path.get("callee").isIdentifier({ name: "eval" }) &&
path.node.arguments.length === 1
) {
const evaluate = path.get("arguments")[0].evaluate();
if (!evaluate.confident) return;