Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-10-22 14:31:16 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-10-22 14:31:16 +0300
commit905c1110b08f93a19661cf42a276c7ea90d0a0ff (patch)
tree756d138db422392c00471ab06acdff92c5a9b69c /.eslintrc.yml
parent50d93f8d1686950fc58dda4823c4835fd0d8c14b (diff)
Add latest changes from gitlab-org/gitlab@12-4-stable-ee
Diffstat (limited to '.eslintrc.yml')
-rw-r--r--.eslintrc.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.eslintrc.yml b/.eslintrc.yml
index 70a71baa590..e131d4c07d1 100644
--- a/.eslintrc.yml
+++ b/.eslintrc.yml
@@ -1,5 +1,6 @@
extends:
- '@gitlab'
+ - plugin:promise/recommended
globals:
__webpack_public_path__: true
gl: false
@@ -10,6 +11,7 @@ plugins:
- import
- "@gitlab/i18n"
- "@gitlab/vue-i18n"
+ - no-jquery
settings:
import/resolver:
webpack:
@@ -36,6 +38,13 @@ rules:
vue/no-use-v-if-with-v-for: off
vue/no-v-html: off
vue/use-v-on-exact: off
+ no-jquery/no-ajax: error
+ no-jquery/no-ajax-events: error
+ no-jquery/no-load: error
+ no-jquery/no-load-shorthand: error
+ no-jquery/no-serialize: error
+ promise/always-return: off
+ promise/no-callback-in-promise: off
overrides:
files:
- '**/spec/**/*'