Having global jQuery available is leading to patterns in our code that we'd like to avoid.
- Use Function##bind instead of $.proxy
- Use indexOf instead of inArray
- Only allow $.ajax and $.Deferred() usage from inside Gateway classes
- Encourage usage of View.prototype.$ instead of $ to avoid $ usage inside classes and side effects (T173539)
- Views that interact with $( 'html,body' ) should be passed a $container parameter (option).
- Use Object.assign (with polyfill) instead of $.extend
- We will enforce this by removing jQuery from the default eslint config. Exceptions will need to temporarily enable the global and justify why in commit messages going forward