diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-21 21:10:44 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-21 21:10:44 +0300 |
commit | 136ec65df5255512264ef62e9ad5561e5f85a735 (patch) | |
tree | b21f397fa036fb63d868da97b99c920db9b9900a /.rubocop.yml | |
parent | e87220d9c1a7878a4cb2bb86554c5951371e340b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 7fe3fc35b66..a7fe623aa9e 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -40,11 +40,14 @@ AllCops: - 'plugins/**/*' - 'file_hooks/**/*' - 'workhorse/**/*' + - '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` # Use absolute path to avoid orphan directories with changed workspace root. CacheRootDirectory: <%= Dir.getwd %>/tmp MaxFilesInCache: 35000 + NewCops: disable + SuggestExtensions: false Metrics/ParameterLists: Exclude: @@ -690,7 +693,7 @@ Gitlab/RailsLogger: - 'ee/spec/**/*.rb' # WIP See https://gitlab.com/gitlab-org/gitlab/-/issues/267606 -FactoryBot/InlineAssociation: +RSpec/FactoryBot/InlineAssociation: Include: - 'spec/factories/**/*.rb' - 'ee/spec/factories/**/*.rb' @@ -775,3 +778,7 @@ Fips/OpenSSL: Gemspec/AvoidExecutingGit: Enabled: false + +Lint/BinaryOperatorWithIdenticalOperands: + Exclude: + - '{,ee/,qa/}spec/**/*_{spec,shared_examples,shared_context}.rb' |