Sha256: afd023d051aec4bf0c8ee40dd71cdfdff4b5483e3efef23944bc2da49f59e4a0

Contents?: true

Size: 1.07 KB

Versions: 4

Compression:

Stored size: 1.07 KB

Contents

# .rubocop.yml

# Based article from Evil Martians
# https://evilmartians.com/chronicles/rubocoping-with-legacy-bring-your-ruby-code-up-to-standard
# referenced in standard readme relating to use of Standard with Rubocop extensions
# https://github.com/testdouble/standard

# We want Exclude directives from different
# config files to get merged, not overwritten
inherit_mode:
  merge:
    - Exclude

require:
  # Performance cops are bundled with Standard
  - rubocop-performance
  # Standard's config uses this custom cop,
  # so it must be loaded
  - standard/cop/block_single_line_braces

inherit_gem:
  standard: config/base.yml

inherit_from:
  - .rubocop_rails.yml
  - .rubocop_rspec.yml

AllCops:
  NewCops: enable
  TargetRubyVersion: 2.7
  Exclude:
    - "spec/dummy/config/*"
    - "spec/dummy/config/environments/*"
    - "spec/dummy/db/schema.rb"
    - "spec/spec_helper.rb"

# Exclude cop for base class with equality comparison
# so the gem does not need a dependency on ActionPack
Style/ClassEqualityComparison:
  Enabled: true
  Exclude:
    - "lib/active_manageable/base.rb"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active_manageable-0.2.0 .rubocop.yml
active_manageable-0.1.2 .rubocop.yml
active_manageable-0.1.1 .rubocop.yml
active_manageable-0.1.0 .rubocop.yml