Sha256: e7ac1351405e1875afe05d49e5d7acc442c2aaa161c6a5191f458a55b4a6fd5e

Contents?: true

Size: 1.74 KB

Versions: 6

Compression:

Stored size: 1.74 KB

Contents

# inherits from https://github.com/bbatsov/rubocop/blob/master/config/default.yml

AllCops:
  Exclude:
    - spec/support/schema.rb
    - bin/**/*
    - tmp/**/*
    - vendor/**/*
    - .bundle/**/*
  Rails:
    Enabled: true
  DisplayCopNames: true
  DisplayStyleGuide: true

Documentation:
  Enabled: false

Metrics/AbcSize:
  Enabled: true
  Max: 40
Metrics/BlockLength:
  Exclude:
    - spec/**/*
Metrics/CyclomaticComplexity:
  Enabled: true
  Max: 12
Metrics/LineLength:
  Enabled: true
  Max: 140
Metrics/PerceivedComplexity:
  Enabled: true
  Max: 12
Metrics/ClassLength:
  Enabled: true
  CountComments: false
  Max: 200
Metrics/ModuleLength:
  CountComments: false
  Max: 200
  Enabled: true
Metrics/MethodLength:
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#short-methods
  Enabled: true
  CountComments: false
  Max: 50
Metrics/ParameterLists:
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#too-many-params
  Enabled: true
  Max: 5
  CountKeywordArgs: true

Lint/AssignmentInCondition:
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition
  Enabled: true
  AllowSafeAssignment: true
Lint/UnusedBlockArgument:
  Enabled: false

Style/AccessorMethodName:
  Enabled: true
Style/AlignHash:
  EnforcedColonStyle: key
  EnforcedHashRocketStyle: key
Style/AlignParameters:
  EnforcedStyle: with_fixed_indentation
Style/Alias:
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#alias-method
  EnforcedStyle: prefer_alias_method
Style/BracesAroundHashParameters:
  Exclude:
    - spec/**/*
Style/CaseIndentation:
  EnforcedStyle: case
  SupportedStyles:
    - case
    - end
  IndentOneStep: false
Style/RaiseArgs:
  Enabled: false
Style/SignalException:
  Enabled: false
Style/SpecialGlobalVars:
  Enabled: false

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
reports_kit-0.2.0 .rubocop.yml
reports_kit-0.1.0 .rubocop.yml
reports_kit-0.0.4 .rubocop.yml
reports_kit-0.0.3 .rubocop.yml
reports_kit-0.0.2 .rubocop.yml
reports_kit-0.0.1 .rubocop.yml