Sha256: e075b3b13b9fc7313258621426f2d2148f20365fa027ceb1148836706e9a189d

Contents?: true

Size: 1.16 KB

Versions: 2

Compression:

Stored size: 1.16 KB

Contents

---
require:
  - rubocop-rails
  - rubocop-rails-accessibility

AllCops:
  ActiveSupportExtensionsEnabled: true

# Config blocks can be very long
Metrics/BlockLength:
  Exclude:
    - 'config/**/*'

# Migrations can be very long
Metrics/MethodLength:
  Exclude:
    - 'db/**/*'

# casecmp does not work with all of Unicode, so this is not a good optimization for internationalized apps
Performance/Casecmp:
  Enabled: false

# This cop is unsafe because it has known compatibility issues with ActiveRecord and other frameworks.
Performance/Count:
  Enabled: false

# This cop is unsafe because it has known compatibility issues with ActiveRecord and other frameworks.
Performance/Detect:
  Enabled: false

# Sum is different between enumerables and ActiveRecord, let's not cause confusion...
Performance/Sum:
  Enabled: false

Rails/DefaultScope:
  Enabled: true

Rails/EnvironmentVariableAccess:
  Enabled: true

Rails/OrderById:
  Enabled: true

Rails/PluckId:
  Enabled: true

Rails/TableNameAssignment:
  Enabled: true

Style/Documentation:
  Exclude:
    - app/controllers/**/*
    - app/mailers/**/*
    - app/models/**/*
    - config/**/*
    - db/migrate/**/*
    - test/**/*

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubocop-rickselby-0.41.0 config/rails.yml
rubocop-rickselby-0.40.0 config/rails.yml