jquery/src
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
..
ajax squash! Set attributes all at once, src last 2018-05-14 14:09:43 -04:00
attributes Build: ESLint: forbid unused function parameters 2019-09-26 01:59:57 +02:00
core Build: ESLint: forbid unused function parameters 2019-09-26 01:59:57 +02:00
css Build: ESLint: forbid unused function parameters 2019-09-26 01:59:57 +02:00
data Core: make camelCase function available only for internal usage 2018-01-08 11:21:22 -05:00
deferred Deferred: Give better stack diagnostics on exceptions 2016-05-11 20:21:04 -04:00
effects CSS: Avoid filling jQuery.cssProps 2018-03-19 20:33:35 -04:00
event Build: ESLint: forbid unused function parameters 2019-09-26 01:59:57 +02:00
exports Core: expose noConflict in AMD mode 2016-08-15 11:54:55 -04:00
manipulation Core: Preserve CSP nonce on scripts with src attribute in DOM manipulation 2019-03-25 18:14:24 +01:00
queue Build: Put all AMD modules in "src/" in strict mode 2016-04-25 20:25:08 +02:00
traversing Filter: Use direct filter in winnow 2018-01-17 11:01:08 -05:00
var Core: Use Array.prototype.flat where supported 2019-09-25 17:49:32 +02:00
.eslintrc.json Build: Fix unresolved jQuery reference in finalPropName 2019-04-17 19:58:20 +02:00
ajax.js Build: ESLint: forbid unused function parameters 2019-09-26 01:59:57 +02:00
attributes.js Build: Put all AMD modules in "src/" in strict mode 2016-04-25 20:25:08 +02:00
callbacks.js Core: deprecate jQuery.type 2018-01-16 10:39:08 -05:00
core.js Build: ESLint: forbid unused function parameters 2019-09-26 01:59:57 +02:00
css.js Build: ESLint: forbid unused function parameters 2019-09-26 01:59:57 +02:00
data.js Core: make camelCase function available only for internal usage 2018-01-08 11:21:22 -05:00
deferred.js Build: ESLint: forbid unused function parameters 2019-09-26 01:59:57 +02:00
deprecated.js Core: Deprecate jQuery.trim 2019-09-26 01:00:55 +02:00
dimensions.js Core: Deprecate jQuery.isWindow 2017-07-10 12:00:27 -04:00
effects.js Build: ESLint: forbid unused function parameters 2019-09-26 01:59:57 +02:00
event.js Event: Prevent leverageNative from registering duplicate dummy handlers 2019-04-29 19:26:53 +02:00
jquery.js Event: Move event aliases to deprecated 2018-01-15 21:40:45 -05:00
manipulation.js Core: Use Array.prototype.flat where supported 2019-09-25 17:49:32 +02:00
offset.js Build: ESLint: forbid unused function parameters 2019-09-26 01:59:57 +02:00
queue.js Core: Deprecate jQuery.isArray 2016-11-30 12:22:24 +01:00
selector-native.js Selector: Make selector-native's isXMLDoc recognize HTML-embedded SVG 2019-07-29 22:06:18 +02:00
selector-sizzle.js Build: Put all AMD modules in "src/" in strict mode 2016-04-25 20:25:08 +02:00
selector.js Build: ESLint details 2016-06-11 10:41:33 +03:00
serialize.js Build: ESLint: forbid unused function parameters 2019-09-26 01:59:57 +02:00
traversing.js Build: ESLint: forbid unused function parameters 2019-09-26 01:59:57 +02:00
wrap.js Core: deprecate jQuery.isFunction 2018-01-15 09:26:19 -08:00
wrapper.js Build: jQuery Foundation -> JS Foundation 2016-12-05 11:54:38 -05:00