Sha256: 0cf33194f434c28a67dbbebb3a72ffa4eb3e70cc84ca08c3f08a75c7878453d6

Contents?: true

Size: 1.72 KB

Versions: 1

Compression:

Stored size: 1.72 KB

Contents

require: rubocop-rails

Rails:
  Enabled: true

AllCops:
  Exclude:
    - 'bin/**/*'
    - 'gemfiles/**/*'
    - 'spec/internal/db/schema.rb'
  NewCops: enable
  TargetRubyVersion: 2.7

Layout/IndentationWidth:
  Enabled: true

Layout/LineLength:
  Exclude:
    - 'spec/**/*'
    - 'lib/phi_attrs/phi_record.rb' # TODO: RUBOCOP Cleanup exclusion
  Max: 140

Lint/UnreachableCode:
  Exclude:
    - 'lib/phi_attrs/phi_record.rb' # TODO: RUBOCOP Cleanup exclusion

Lint/UnusedMethodArgument:
  Exclude:
    - 'lib/phi_attrs.rb' # TODO: RUBOCOP Cleanup exclusion

Metrics/AbcSize:
  Max: 30
  Exclude:
    - 'spec/internal/db/**/*'
    - 'lib/phi_attrs/phi_record.rb' # TODO: RUBOCOP Cleanup exclusion

Metrics/BlockLength:
  Enabled: false

Metrics/ClassLength:
  Max: 1500

Metrics/CyclomaticComplexity:
  Exclude:
   - 'lib/phi_attrs/phi_record.rb' # TODO: RUBOCOP Cleanup exclusion

Metrics/MethodLength:
  Exclude:
    - 'spec/**/*'
    - 'lib/phi_attrs/phi_record.rb' # TODO: RUBOCOP Cleanup exclusion
  Max: 20

Metrics/ModuleLength:
  Exclude:
    - 'lib/phi_attrs/phi_record.rb' # TODO: RUBOCOP Cleanup exclusion

Metrics/PerceivedComplexity:
  Exclude:
    - 'lib/phi_attrs/phi_record.rb' # TODO: RUBOCOP Cleanup exclusion

Naming/PredicateName:
  Enabled: false

Rails/DynamicFindBy:
  Exclude:
    - 'spec/spec_helper.rb' # TODO: RUBOCOP Cleanup exclusion

# Style/BracesAroundHashParameters:
#   Enabled: false

Style/ClassVars:
  Enabled: false

Style/CommentedKeyword:
  Exclude:
    - 'spec/**/*'

Style/ConditionalAssignment:
  Enabled: false

Style/Documentation:
  Enabled: false

Style/EmptyMethod:
  EnforcedStyle: expanded

Style/SymbolArray:
  EnforcedStyle: brackets

Style/RedundantReturn:
  Enabled: false

Style/WordArray:
  MinSize: 4

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phi_attrs-0.3.0 .rubocop.yml