Sha256: 30c24c169d3a5c2d831e4b0e30abaee04e7f379fc25205413c9f54b8ebc627f5

Contents?: true

Size: 1.54 KB

Versions: 1

Compression:

Stored size: 1.54 KB

Contents

require:
  - rubocop-performance
  - rubocop-rspec

AllCops:
  NewCops: enable

Layout/LineLength:
  Exclude: ["db/migrate/*.rb"]

Layout/EmptyLinesAroundClassBody:
  EnforcedStyle: empty_lines

Layout/EmptyLinesAroundModuleBody:
  EnforcedStyle: empty_lines_except_namespace

Metrics/ModuleLength:
  CountAsOne: ["array", "hash", "heredoc"]

Metrics/ClassLength:
  Max: 150
  CountAsOne: ["array", "hash", "heredoc"]

Metrics/MethodLength:
  Max: 25
  CountAsOne: ["array", "hash", "heredoc"]
  Exclude:
    - "config/routes/**/*.rb"
    - "db/seeds/*.rb"

Metrics/AbcSize:
  Enabled: false

Style/FrozenStringLiteralComment:
  Enabled: false

Style/MethodCallWithArgsParentheses:
  Enabled: false

Style/SignalException:
  Enabled: false

Layout/IndentationConsistency:
  EnforcedStyle: indented_internal_methods

Style/EmptyMethod:
  EnforcedStyle: expanded

Style/SymbolArray:
  EnforcedStyle: brackets

Style/WordArray:
  EnforcedStyle: brackets

Metrics/BlockLength:
  Exclude: ["config/**/*.rb"]

Metrics/CyclomaticComplexity:
  Max: 18
  Exclude: ["db/seeds/*.rb"]

Metrics/PerceivedComplexity:
  Max: 20
  Exclude: ["db/seeds/*.rb"]

Layout/MultilineMethodCallIndentation:
  EnforcedStyle: indented

Layout/EndOfLine:
  EnforcedStyle: lf

Style/NumericLiterals:
  Strict: true

Layout/FirstArrayElementIndentation:
  EnforcedStyle: consistent

Layout/EndAlignment:
  EnforcedStyleAlignWith: start_of_line

Layout/CaseIndentation:
  EnforcedStyle: end

Layout/FirstHashElementIndentation:
  EnforcedStyle: consistent

Style/StringLiterals:
  EnforcedStyle: single_quotes

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
world_voyager-0.1.0 .rubocop.yml