packages/babel-plugin-proposal-partial-application/src/index.js
Function CallExpression
has 73 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
CallExpression(path) {
if (!hasArgumentPlaceholder(path.node)) {
return;
}
const { node, scope } = path;
Function unwrapArguments
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function unwrapArguments(node, scope) {
const init = [];
for (let i = 0; i < node.arguments.length; i++) {
if (
!t.isArgumentPlaceholder(node.arguments[i]) &&