Codebase list ruby-roadie-rails / 2d862090-7aa5-44bd-abd9-5bfef4d48027/main .rubocop.yml
2d862090-7aa5-44bd-abd9-5bfef4d48027/main

Tree @2d862090-7aa5-44bd-abd9-5bfef4d48027/main (Download .tar.gz)

.rubocop.yml @2d862090-7aa5-44bd-abd9-5bfef4d48027/mainraw · history · blame

AllCops:
  TargetRubyVersion: 2.5
  Exclude:
    - spec/railsapps/**/*

Naming/FileName:
  Exclude:
    # This is named intentionally this way (the gem name), in case someone
    # includes it instead of "roadie/rails".
    - lib/roadie-rails.rb

Style/StringLiterals:
  EnforcedStyle: double_quotes

Style/TrailingCommaInHashLiteral:
  EnforcedStyleForMultiline: comma

Style/TrailingCommaInArguments:
  EnforcedStyleForMultiline: comma

Style/TrailingCommaInArrayLiteral:
  EnforcedStyleForMultiline: consistent_comma

Layout/SpaceInsideHashLiteralBraces:
  EnforcedStyle: no_space

Style/Documentation:
  Enabled: false

Layout/FirstArrayElementIndentation:
  EnforcedStyle: consistent

Layout/MultilineMethodCallIndentation:
  EnforcedStyle: indented

Layout/EmptyLinesAroundAccessModifier:
  Enabled: false

Style/GuardClause:
  Enabled: false

Style/IfUnlessModifier:
  Enabled: false

Style/SignalException:
  Enabled: false

Style/BlockDelimiters:
  Enabled: true
  EnforcedStyle: braces_for_chaining
  Exclude:
    - 'spec/**/*'

Metrics/BlockLength:
  ExcludedMethods:
    - refine
    - describe
    - context
    - shared_examples
  Exclude:
    - 'Rakefile'
    - '**/*.rake'
    - 'spec/*_spec.rb'
    - 'spec/**/*_spec.rb'
    - 'spec/shared_examples/*.rb'

Layout/LineLength:
  IgnoredPatterns:
    - '^\s*it\s' # Test names can be long
  Exclude:
    - roadie-rails.gemspec