diff --git a/lib/rules/no-unused-vars.js b/lib/rules/no-unused-vars.js index 4e24720c774..38d121d10b4 100644 --- a/lib/rules/no-unused-vars.js +++ b/lib/rules/no-unused-vars.js @@ -669,8 +669,8 @@ module.exports = { /** * Gets an array of variables without read references. * @param {Scope} scope an eslint-scope Scope object. - * @param {Variable[]} unusedVars an array containing unused variables that should be reported - * @returns {Variable[]} an array containing unused variables of the scope and descendant scopes. + * @param {Variable[]} unusedVars an array that saving result. + * @returns {Variable[]} unused variables of the scope and descendant scopes. * @private */ function collectUnusedVariables(scope, unusedVars) {