Sha256: 46977e23f04c5fd1234ff643ccaa63a99f1690bd504c11440a1ac9a52b270647

Contents?: true

Size: 1.49 KB

Versions: 6

Compression:

Stored size: 1.49 KB

Contents

AllCops:
  DisplayCopNames: true
  DisplayStyleGuide: true
  Exclude:
    - db/schema.rb
    - spec/dummy/db/schema.rb

# https://github.com/AtomLinter/linter-rubocop/issues/2
Style/FileName:
  Enabled: false

Metrics/CyclomaticComplexity:
  Max: 10

Metrics/LineLength:
  Max: 160

Metrics/MethodLength:
  Max: 50

Metrics/AbcSize:
  Max: 25

Metrics/ClassLength:
  Max: 250

# .find_each is not the same as .each
Rails/FindEach:
  Enabled: false

Style/AccessModifierIndentation:
  EnforcedStyle: outdent

Style/AlignParameters:
  EnforcedStyle: with_fixed_indentation

Style/ClassAndModuleChildren:
  EnforcedStyle: compact

Style/ConditionalAssignment:
  Enabled: false

Style/Documentation:
  Enabled: false

Style/EmptyLines:
  Enabled: false

# Will report offences for many places that are much more readable without using a guard clause
Style/GuardClause:
  Enabled: false

Style/MultilineMethodCallIndentation:
  EnforcedStyle: indented

Style/MultilineOperationIndentation:
  EnforcedStyle: indented

Style/StringLiterals:
  EnforcedStyle: double_quotes

Style/StringLiteralsInInterpolation:
  Enabled: false

Style/NilComparison:
  Enabled: false

Style/SignalException:
  EnforcedStyle: only_raise

Style/MultilineOperationIndentation:
  EnforcedStyle: indented

Style/SpaceInsideHashLiteralBraces:
  EnforcedStyle: no_space

Style/TrivialAccessors:
  ExactNameMatch: true
  Enabled: true

# Disabled on purpose: https://github.com/bbatsov/rubocop/issues/1758
Style/ClosingParenthesisIndentation:
  Enabled: false

Version data entries

6 entries across 5 versions & 4 rubygems

Version Path
active_record_query_fixer-0.0.0 .rubocop.yml
peak_flow_utils-0.0.1 .rubocop.yml
peak_flow_utils-0.0.0 .rubocop.yml
money-fixer-io-0.0.0 .rubocop.yml
best_practice_project-0.0.10 .rubocop.yml
best_practice_project-0.0.10 lib/best_practice_project/config/rubocop.yml