elektronaut/dis

View on GitHub
.rubocop.yml

Summary

Maintainability
Test Coverage
inherit_from: .rubocop_todo.yml

require:
  - rubocop-rails
  - rubocop-rspec

AllCops:
  NewCops: enable
  TargetRubyVersion: 3.1
  Exclude:
    - 'spec/internal/config/**/*'
    - 'spec/internal/db/**/*'
    - 'spec/internal/db/schema.rb'
    - 'vendor/**/*'

Rails:
  Enabled: true

Style/StringLiterals:
  EnforcedStyle: double_quotes

Style/Documentation:
  Enabled: false

Layout/LineLength:
  AutoCorrect: true
  Max: 80

Metrics/BlockLength:
  Exclude:
    - "*.gemspec"
    - "**/*.rake"
    - "**/*.builder"
    - "spec/internal/config/environments/*"
    - "config/routes.rb"
    - "db/migrate/*"
    - "**/*_spec.rb"
    - "spec/factories.rb"
    - "spec/rails_helper.rb"

Metrics/MethodLength:
  Exclude:
    - "db/migrate/*"

Rails/ApplicationJob:
  Enabled: false