jquery/build
Michał Gołębiowski-Owczarek d7e13f128a Build: ESLint: forbid unused function parameters
This commit requires all function parameters to be used, not just the last one.
In cases where that's not possible as we need to match an external API, there's
an escape hatch of prefixing an unused argument with `_`.

This change makes it easier to catch unused AMD dependencies and unused
parameters in internal functions the API of which we may change at will, among
other things.

Unused AMD dependencies have been removed as part of this commit.

Closes gh-4381

(cherry-picked from 438b1a3e8a)
2019-09-26 01:59:57 +02:00
..
release Release: edit dist README version on release 2017-03-17 12:38:23 -04:00
tasks Build: ESLint: forbid unused function parameters 2019-09-26 01:59:57 +02:00
release.js Release: update release dependencies 2017-03-15 14:57:20 -04:00