Open
Description
I use jscs 2.1.0 with {"esnext": true, "jsDoc": {"checkRedundantParams": true}}
in WebStorm for inline linting. Jscs highlights param definitions for destructured params (except first) as redundant:
class ServerResponsePage {
/**
* Page to show server response.
* @constructor
* @param {string} action - response name.
* @param {string} result - response result. <--- this description is highlighted as redundant
*/
constructor({query: {action, result}}) {
// ...
}
}