diff options
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index cc65727e94d..34d6fe5e434 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -7,16 +7,18 @@ require: - rubocop-rspec inherit_from: + - .rubocop_manual_todo.yml - .rubocop_todo.yml - ./rubocop/rubocop-migrations.yml - ./rubocop/rubocop-usage-data.yml + - ./rubocop/rubocop-code_reuse.yml inherit_mode: merge: - Include AllCops: - TargetRubyVersion: 2.6 + TargetRubyVersion: 2.7 TargetRailsVersion: 6.0 Exclude: - 'vendor/**/*' @@ -353,6 +355,12 @@ Cop/SidekiqOptionsQueue: - 'spec/**/*.rb' - 'ee/spec/**/*.rb' +Graphql/ResolverType: + Enabled: true + Include: + - 'app/graphql/resolvers/**/*' + - 'ee/app/graphql/resolvers/**/*' + Graphql/AuthorizeTypes: Enabled: true Include: |