diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-21 21:10:22 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-21 21:10:22 +0300 |
commit | 2c87a975e36acc152da28665d39ca720f479fe53 (patch) | |
tree | dba6d512c4332acdbc91f2825f6f2d40b39acb49 /.eslintrc.yml | |
parent | 48e30ea32f840f5c92e71e34f7a3166b4fc35576 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.eslintrc.yml')
-rw-r--r-- | .eslintrc.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.eslintrc.yml b/.eslintrc.yml index 72c33873ada..7f45fd912a9 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -99,7 +99,7 @@ rules: message: 'Migrate to GlSkeletonLoader, or import GlDeprecatedSkeletonLoading.' overrides: - files: - - '{,ee/,jh/}spec/frontend*/**/*' + - '{,ee/,jh/}spec/frontend*/**/*' rules: '@gitlab/require-i18n-strings': off '@gitlab/no-runtime-template-compiler': off @@ -139,11 +139,13 @@ overrides: 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' + # 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 + # TODO: We need a way to include this rule + support ee_else_ce fragments + #'@graphql-eslint/unique-fragment-name': error # TODO: Uncomment these rules when then `schema` is available #'@graphql-eslint/fragments-on-composite-type': error #'@graphql-eslint/known-argument-names': error @@ -151,4 +153,3 @@ overrides: '@graphql-eslint/no-anonymous-operations': error '@graphql-eslint/unique-operation-name': error '@graphql-eslint/require-id-when-available': error - '@graphql-eslint/unique-fragment-name': error |