---
inherit_gem:
  aaf-gumboot: aaf-rubocop.yml

AllCops:
  TargetRubyVersion: 2.3
  Exclude:
    - db/**/*

AbcSize:
  Exclude:
    - lib/metadata/**/*

ClassLength:
  Exclude:
    - lib/metadata/saml.rb

MethodLength:
  Exclude:
    - lib/metadata/saml.rb

CyclomaticComplexity:
  Exclude:
    - lib/metadata/saml.rb

PerceivedComplexity:
  Exclude:
    - lib/metadata/saml.rb

---
inherit_gem:
  aaf-gumboot: aaf-rubocop.yml

AllCops:
  TargetRubyVersion: 2.3
  Exclude:
    - db/**/*

AbcSize:
  Exclude:
    - lib/metadata/**/*

ClassLength:
  Exclude:
    - lib/metadata/saml.rb

MethodLength:
  Exclude:
    - lib/metadata/saml.rb

CyclomaticComplexity:
  Exclude:
    - lib/metadata/saml.rb

PerceivedComplexity:
  Exclude:
    - lib/metadata/saml.rb

# List duplicated from here, but with `touch` removed:
# https://github.com/bbatsov/rubocop/blob/863037ac719d3539c1dd7e7f7715915f5b612c93/config/default.yml#L1539-L1551
Rails/SkipsModelValidations:
  Blacklist:
    - decrement!
    - decrement_counter
    - increment!
    - increment_counter
    - toggle!
    - update_all
    - update_attribute
    - update_column
    - update_columns
    - update_counters

Allow `touch` method to be called on models
Allow `touch` method to be called on models
