refactor(core): Lint for cyclomatic complexity in BE packages (no-changelog) (#9111)

This commit is contained in:
Iván Ovejero
2024-04-10 14:02:02 +02:00
committed by GitHub
parent 9eab357b75
commit a3b59843d5
31 changed files with 40 additions and 1 deletions

View File

@@ -127,6 +127,7 @@ export const extendTransform = (expression: string): { code: string } | undefine
// Polyfill optional chaining
visit(ast, {
// eslint-disable-next-line complexity
visitChainExpression(path) {
this.traverse(path);
const chainNumber = currentChain;