Sha256: 711a63e6801317bdfd7c23b7ec81f1514082324bb467da0929254424fca9f839

Contents?: true

Size: 1.43 KB

Versions: 2

Compression:

Stored size: 1.43 KB

Contents

require: rubocop-rspec

AllCops:
  Exclude:
    - '.internal_test_app/**/*'
    - '.internal_test_gem/**/*'
    - 'bin/**/*'
    - 'db/**/*'
    - 'lib/generators/warclight/templates/**/*'
    - 'vendor/**/*'
  TargetRubyVersion: 2.4
  DisplayCopNames: true

Rails:
  Enabled: true

Metrics/LineLength:
  Max: 120
  Exclude:
    - 'Gemfile'
    - 'spec/models/concerns/warclight/solr_document_spec.rb'

Metrics/ModuleLength:
  Max: 120

Metrics/ClassLength:
  Max: 120

Metrics/MethodLength:
  Max: 20

Metrics/BlockLength:
  Exclude:
    - !ruby/regexp /\.rake$/
    - 'warclight.gemspec'
    - 'spec/**/*'
    - 'lib/warclight/custom_document.rb'

Metrics/AbcSize:
  Exclude:
    - 'app/models/concerns/warclight/solr_document.rb' #Come back to this later

Performance/RegexpMatch:
  Enabled: false

Rails/OutputSafety:
  Exclude:
    - 'app/controllers/concerns/warclight/field_config_helpers.rb' # html_safe needs to be called to mimic BL JOIN behavior
    - 'app/models/concerns/warclight/solr_document.rb'

RSpec/ExampleLength:
  Enabled: false

RSpec/MultipleExpectations:
  Enabled: false

RSpec/NestedGroups:
  Max: 4

Rails/TimeZone:
  Exclude:
    - 'app/models/concerns/warclight/solr_document.rb' #Come back to this later

Style/Documentation:
  Exclude:
    - 'spec/**/*'
    - 'lib/warclight.rb'

Bundler/DuplicatedGem:
  Enabled: false

Lint/UselessAssignment:
  Exclude:
    - 'app/models/concerns/warclight/solr_document.rb' #Come back to this later

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
warclight-0.7.1 .rubocop.yml
warclight-0.7.0 .rubocop.yml