summaryrefslogtreecommitdiff
path: root/.eslintrc.yml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-06-20 11:10:13 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-06-20 11:10:13 +0000
commit0ea3fcec397b69815975647f5e2aa5fe944a8486 (patch)
tree7979381b89d26011bcf9bdc989a40fcc2f1ed4ff /.eslintrc.yml
parent72123183a20411a36d607d70b12d57c484394c8e (diff)
downloadgitlab-ce-0ea3fcec397b69815975647f5e2aa5fe944a8486.tar.gz
Add latest changes from gitlab-org/gitlab@15-1-stable-eev15.1.0-rc42
Diffstat (limited to '.eslintrc.yml')
-rw-r--r--.eslintrc.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.eslintrc.yml b/.eslintrc.yml
index 1dec5db472a..7505d864e6f 100644
--- a/.eslintrc.yml
+++ b/.eslintrc.yml
@@ -26,6 +26,12 @@ rules:
- _links
import/no-unresolved:
- error
+ - ignore:
+ # In FOSS, these import paths are rewritten using
+ # NormalModuleReplacementPlugin, which import/no-unresolved doesn't
+ # consider. See
+ # https://gitlab.com/gitlab-org/gitlab/-/merge_requests/89831.
+ - '^(ee|jh)_component/'
# Disabled for now, to make the airbnb-base 12.1.0 -> 13.1.0 update smoother
no-else-return:
- error
@@ -108,6 +114,8 @@ rules:
message: 'Migrate to GlSkeletonLoader, or import GlDeprecatedSkeletonLoading.'
# See https://gitlab.com/gitlab-org/gitlab/-/issues/360551
vue/multi-word-component-names: off
+ unicorn/prefer-dom-node-dataset:
+ - error
overrides:
- files:
- '{,ee/,jh/}spec/frontend*/**/*'