CMSgov/dpc-app

View on GitHub
dpc-admin/.rubocop.yml

Summary

Maintainability
Test Coverage
inherit_from: .rubocop_todo.yml

require:
  rubocop-performance

AllCops:
  NewCops: enable
  TargetRubyVersion: 3.3
  Exclude:
    - 'app/jobs/application_job.rb'
    - 'app/mailers/application_mailer.rb'
    - 'app/models/application_record.rb'
    - 'bin/**/*'
    - 'config/**/*'
    - 'config.ru'
    - 'db/**/*'
    - 'node_modules/**/*'
    - 'vendor/**/*'

Bundler/OrderedGems:
  Enabled: false

# Layout/LineLength:
#   Max: 120

Metrics/BlockLength:
  Exclude:
    - 'spec/**/*'

# Metrics/MethodLength:
#   Max:
#     15

Metrics/AbcSize:
  Max:
    30

Style/Documentation:
  Enabled: false

Style/IfUnlessModifier:
  Enabled: false

Style/Lambda:
  Enabled: false

Style/ReturnNilInPredicateMethodDefinition:
  Enabled: false

Style/SymbolArray:
  Exclude:
    - 'Gemfile'