lib/rules/no-unused-vars.js
function markThisParameterAsUsed(node) {
            if (node.name) {
                const variable = context
                    .getScope()
                    .variables.find(scopeVar => scopeVar.name === node.name);

                if (variable) {
                    variable.eslintUsed = true;
                }
            }
        }
function markThisParameterAsUsed(node) {
            if (node.name) {
                const variable = context
                    .getScope()
                    .variables.find(scopeVar => scopeVar.name === node.name);

                if (variable) {
                    variable.eslintUsed = true;
                }
            }
        }
function markThisParameterAsUsed ( node ) { if ( node . name ) { const variable = context . getScope ( ) . variables . find ( scopeVar => scopeVar . name === node . name ) ; if ( variable ) { variable . eslintUsed = true ; } } }
Mark this function parameter as used
@param {Identifier} node The node currently being traversed
@returns {void}
Mark this function parameter as used