vkbansal/eslint-plugin-jsx-control-statements

View on GitHub
lib/rules/jsx-jcs-no-undef.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function exports has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function (context) {
    var options = context.options[0];
    var considerTypeOf = (options && options.typeof === true) || false;

    return {
Severity: Major
Found in lib/rules/jsx-jcs-no-undef.js - About 2 hrs to fix

    Function Program:exit has 50 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            "Program:exit": function (/* node */) {
                var globalScope = context.getScope();
    
                globalScope.through.forEach(function (ref) {
                    var identifier = ref.identifier;
    Severity: Minor
    Found in lib/rules/jsx-jcs-no-undef.js - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status