diff options
Diffstat (limited to '.eslintrc.yml')
-rw-r--r-- | .eslintrc.yml | 23 |
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 |