diff options
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 657385ba66d..7b2b8ca70f5 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -37,6 +37,7 @@ AllCops: - 'file_hooks/**/*' - 'workhorse/**/*' - '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` CacheRootDirectory: tmp MaxFilesInCache: 25000 @@ -254,7 +255,6 @@ Gitlab/HTTParty: Gitlab/Json: Enabled: true Exclude: - - 'db/**/*' - 'qa/**/*' - 'scripts/**/*' - 'tooling/rspec_flaky/**/*' @@ -442,6 +442,16 @@ Graphql/JSONType: - 'spec/**/*.rb' - 'ee/spec/**/*.rb' +Graphql/OldTypes: + Enabled: true + Include: + - 'app/graphql/**/*' + - 'ee/app/graphql/**/*' + - 'spec/graphql/**/*' + - 'spec/requests/api/graphql/**/*' + - 'ee/spec/graphql/**/*' + - 'ee/spec/requests/api/graphql/**/*' + RSpec/EnvAssignment: Enable: true Include: @@ -693,3 +703,11 @@ RSpec/TopLevelDescribePath: Exclude: - 'spec/fixtures/**/*.rb' - 'ee/spec/fixtures/**/*.rb' + +QA/SelectorUsage: + Enabled: true + Include: + - 'spec/**/*.rb' + - 'ee/spec/**/*.rb' + Exclude: + - 'spec/rubocop/**/*_spec.rb' |