diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-20 14:18:08 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-20 14:18:08 +0300 |
commit | 5afcbe03ead9ada87621888a31a62652b10a7e4f (patch) | |
tree | 9918b67a0d0f0bafa6542e839a8be37adf73102d /gems/config | |
parent | c97c0201564848c1f53226fe19d71fdcc472f7d0 (diff) |
Add latest changes from gitlab-org/gitlab@16-4-stable-eev16.4.0-rc42
Diffstat (limited to 'gems/config')
-rw-r--r-- | gems/config/rubocop.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gems/config/rubocop.yml b/gems/config/rubocop.yml index 58746de53b0..72b37aa60b5 100644 --- a/gems/config/rubocop.yml +++ b/gems/config/rubocop.yml @@ -2,7 +2,7 @@ # (AllCops/Exclude: 'gems/**/*') if RuboCop cop is run within `gems/...`. # See https://gitlab.com/gitlab-org/gitlab/-/issues/417281 <% - relative_path = ENV['PWD'].delete_prefix(File.expand_path('../..')) + relative_path = ENV['PWD'].delete_prefix(File.expand_path('../..')) RuboCop::ConfigLoader.ignore_parent_exclusion = relative_path.start_with?('/gems/') %> --- @@ -61,6 +61,9 @@ Gitlab/RSpec/AvoidSetup: Graphql/AuthorizeTypes: Enabled: false +Gitlab/Json: + Enabled: false + # This cop doesn't make sense in the context of gems Graphql/Descriptions: Enabled: false |