lib/rules/no-useless-rename.js
function checkImport(node) {
            if (ignoreImport) {
                return;
            }

            if (node.imported.name === node.local.name &&
                    node.imported.range[0] !== node.local.range[0]) {
                reportError(node, node.imported, node.local, "Import");
            }
        }
function checkImport(node) {
            if (ignoreImport) {
                return;
            }

            if (node.imported.name === node.local.name &&
                    node.imported.range[0] !== node.local.range[0]) {
                reportError(node, node.imported, node.local, "Import");
            }
        }
function checkImport ( node ) { if ( ignoreImport ) { return ; } if ( node . imported . name === node . local . name && node . imported . range [ 0 ] !== node . local . range [ 0 ] ) { reportError ( node , node . imported , node . local , "Import" ) ; } }
Checks whether an import is unnecessarily renamed
@param {ASTNode} node - node to check
@returns {void}
Checks whether an import is unnecessarily renamed