lib/rules/jsx-jcs-no-undef.js
Function exports
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (context) {
var options = context.options[0];
var considerTypeOf = (options && options.typeof === true) || false;
return {
Function Program:exit
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
"Program:exit": function (/* node */) {
var globalScope = context.getScope();
globalScope.through.forEach(function (ref) {
var identifier = ref.identifier;