summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-04-25 15:09:33 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-04-25 15:09:33 +0000
commitba8e92f7c9938d7dba333d2396cdd14bfa0de726 (patch)
tree071d3b0577dce2e95eefa6a504910bc7856181f3 /.rubocop.yml
parentd2d913b606702ecefa01f03362602fde256e3f75 (diff)
downloadgitlab-ce-ba8e92f7c9938d7dba333d2396cdd14bfa0de726.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index e2d37ff8b88..c9c64a39288 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -54,6 +54,10 @@ AllCops:
- 'shared/packages/**/*'
- 'spec/support/*.git/**/*' # e.g. spec/support/gitlab-git-test.git
- 'db/ci_migrate/*.rb' # since the `db/ci_migrate` is a symlinked to `db/migrate`
+ # Adding this specifically for a large revert: !118368
+ <% File.readlines('.rubocop_revert_ignores.txt').map(&:chomp).each do |f| %>
+ - '<%= f %>'
+ <% end %>
# Use absolute path to avoid orphan directories with changed workspace root.
CacheRootDirectory: <%= Dir.getwd %>/tmp
MaxFilesInCache: 1_000_000