summaryrefslogtreecommitdiff
path: root/.eslintrc.yml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-12-20 13:37:47 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-12-20 13:37:47 +0000
commitaee0a117a889461ce8ced6fcf73207fe017f1d99 (patch)
tree891d9ef189227a8445d83f35c1b0fc99573f4380 /.eslintrc.yml
parent8d46af3258650d305f53b819eabf7ab18d22f59e (diff)
downloadgitlab-ce-aee0a117a889461ce8ced6fcf73207fe017f1d99.tar.gz
Add latest changes from gitlab-org/gitlab@14-6-stable-eev14.6.0-rc42
Diffstat (limited to '.eslintrc.yml')
-rw-r--r--.eslintrc.yml23
1 files changed, 14 insertions, 9 deletions
diff --git a/.eslintrc.yml b/.eslintrc.yml
index 623c1a66301..0f73a9c5105 100644
--- a/.eslintrc.yml
+++ b/.eslintrc.yml
@@ -63,11 +63,11 @@ rules:
group: internal
- pattern: emojis/**
group: internal
- - pattern: '{ee_,}empty_states/**'
+ - pattern: '{ee_,jh_,}empty_states/**'
group: internal
- - pattern: '{ee_,}icons/**'
+ - pattern: '{ee_,jh_,}icons/**'
group: internal
- - pattern: '{ee_,}images/**'
+ - pattern: '{ee_,jh_,}images/**'
group: internal
- pattern: vendor/**
group: internal
@@ -75,13 +75,17 @@ rules:
group: internal
- pattern: '{ee_,}spec/**'
group: internal
- - pattern: '{ee_,}jest/**'
+ - pattern: '{ee_,jh_,}jest/**'
group: internal
- - pattern: ee_else_ce/**
+ - pattern: '{ee_,jh_,any_}else_ce/**'
group: internal
- pattern: ee/**
group: internal
- - pattern: ee_component/**
+ - pattern: '{ee_,jh_,}component/**'
+ group: internal
+ - pattern: jh_else_ee/**
+ group: internal
+ - pattern: jh/**
group: internal
- pattern: '{test_,}helpers/**'
group: internal
@@ -120,9 +124,9 @@ overrides:
parserOptions:
parser: '@graphql-eslint/eslint-plugin'
operations:
- - '{,ee/,jh/}app/**/*.graphql'
- # You can run `bundle exec rake gitlab:graphql:schema:dump` and then uncomment this line
- # schema: './tmp/tests/graphql/gitlab_schema.graphql'
+ - '{,ee/,jh/}app/**/*.graphql'
+ # You can run `bundle exec rake gitlab:graphql:schema:dump` and then uncomment this line
+ # schema: './tmp/tests/graphql/gitlab_schema.graphql'
rules:
filenames/match-regex: off
spaced-comment: off
@@ -134,3 +138,4 @@ overrides:
#'@graphql-eslint/known-type-names': error
'@graphql-eslint/no-anonymous-operations': error
'@graphql-eslint/unique-operation-name': error
+ '@graphql-eslint/require-id-when-available': error