Sha256: ac6ffeb6c9b0b9d8d4463d02e13c1f681d04fd933990a4e196f510af2b072305

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

# See full list of defaults here: https://github.com/bbatsov/rubocop/blob/master/config/default.yml
# To see all cops used see here: https://github.com/bbatsov/rubocop/blob/master/config/enabled.yml
<% if rspec || turnip -%>
require: rubocop-rspec
<% end -%>

AllCops:
  DisplayCopNames: true
  NewCops: enable
  TargetRubyVersion: 3

Layout/CaseIndentation:
  Enabled: false

Layout/LineLength:
  Max: 120
<% if cucumber -%>

Lint/AmbiguousBlockAssociation:
  Enabled: false
<% end -%>

Lint/AmbiguousRegexpLiteral:
  Enabled: false

Metrics/BlockLength:
  Enabled: false

Metrics/ModuleLength:
  Max: 150

Style/CaseEquality:
  Enabled: false

Style/Documentation:
  Enabled: false

Style/EmptyElse:
  Enabled: false

Style/FrozenStringLiteralComment:
  Enabled: false
<% if turnip -%>

Style/MixinGrouping:
  EnforcedStyle: separated
  Exclude:
    - '**/*_steps.rb'
<% end -%>
<% if cucumber || turnip -%>

Style/SymbolProc:
  Exclude:
<% if cucumber -%>
    - 'features/step_definitions/**/*.rb'
<%- end -%>
<% if turnip -%>
    - 'spec/steps/**/*.rb'
<%- end -%>
<% end -%>
<% if rspec || turnip -%>

RSpec/Capybara/FeatureMethods:
  Enabled: false

RSpec/ExampleLength:
  Max: 40

RSpec/MultipleExpectations:
  Max: 8
<% end -%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
howitzer-2.6.1 generators/root/templates/.rubocop.yml.erb