This commit is contained in:
Niels Lyngsø
2023-05-25 15:16:31 +02:00
parent dea9ff56a7
commit 628c6954d3

View File

@@ -294,13 +294,9 @@ module.exports = {
});
}
},
/*,
/*
// TODO: This rule does not work, make it work.
CallExpression: (node) => {
// we only care about the callees that have a name (see below)
if (node.callee.type !== AST_NODE_TYPES.Identifier) {
return;
}
if (node.callee.name === 'import') {
const [source] = node.arguments;
const fixedSource = correctImport(source);
@@ -312,7 +308,8 @@ module.exports = {
});
}
}
},*/
},
*/
};
},
},