lib/rules/prefer-rest-params.js
function checkForArguments() {
            const argumentsVar = getVariableOfArguments(context.getScope());

            if (argumentsVar) {
                argumentsVar
                    .references
                    .filter(isNotNormalMemberAccess)
                    .forEach(report);
            }
        }
function checkForArguments() {
            const argumentsVar = getVariableOfArguments(context.getScope());

            if (argumentsVar) {
                argumentsVar
                    .references
                    .filter(isNotNormalMemberAccess)
                    .forEach(report);
            }
        }
function checkForArguments ( ) { const argumentsVar = getVariableOfArguments ( context . getScope ( ) ) ; if ( argumentsVar ) { argumentsVar . references . filter ( isNotNormalMemberAccess ) . forEach ( report ) ; } }
Reports references of the implicit `arguments` variable if exist.

@returns {void}
Reports references of the implicit arguments variable if exist .