SonarJS
SonarJS copied to clipboard
Update file-level cyclomatic complexity
#1653 introduced a rule for function-level cyclomatic complexity. To be consistent with the rule implementation, we need to also ignore AMD pattern and immediately invoked functions at-file level.