Commit 3c704663 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'winh-jquery-deprecated-3.4' into 'master'

Add ESLint rules for deprecated jQuery functions

See merge request gitlab-org/gitlab!21868
parents 72ed09b6 b11e9602
......@@ -2,6 +2,7 @@ extends:
- '@gitlab'
- plugin:promise/recommended
- plugin:no-jquery/slim
- plugin:no-jquery/deprecated-3.4
globals:
__webpack_public_path__: true
gl: false
......@@ -48,8 +49,10 @@ rules:
no-jquery/no-animate: off
# all offenses of no-jquery/no-animate-toggle are false positives ( $toast.show() )
no-jquery/no-animate-toggle: off
no-jquery/no-event-shorthand: off
no-jquery/no-fade: off
no-jquery/no-serialize: error
no-jquery/no-sizzle: off
promise/always-return: off
promise/no-callback-in-promise: off
overrides:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment