Sha256: ae3af4903ce95fadfcd781a710a313b50081a590646d2a784b7f2c54c3c5e612

Contents?: true

Size: 1.57 KB

Versions: 2

Compression:

Stored size: 1.57 KB

Contents

AllCops:
  DisplayCopNames: true
  TargetRubyVersion: 2.1
  Exclude:
    - "gemfiles/**/*"
    - "vendor/**/*"
    - "lib/generators/**/*"

Metrics/BlockLength:
  Exclude:
    - "**/*_spec.rb"

Metrics/MethodLength:
  Max: 40

Metrics/ModuleLength:
  Max: 200
  Exclude:
    - "**/*_spec.rb"

Metrics/LineLength:
  Max: 120

Metrics/AbcSize:
  Enabled: false

Metrics/CyclomaticComplexity:
  Enabled: false

Metrics/PerceivedComplexity:
  Enabled: false

Style/StructInheritance:
  Enabled: false

Layout/AlignParameters:
  EnforcedStyle: with_fixed_indentation

Style/StringLiterals:
  EnforcedStyle: double_quotes

Style/StringLiteralsInInterpolation:
  EnforcedStyle: double_quotes

Layout/ClosingParenthesisIndentation:
  Enabled: false

Style/OneLineConditional:
  Enabled: false

Style/AndOr:
  Enabled: false

Style/Not:
  Enabled: false

Documentation:
  Enabled: false # TODO: Enable again once we have more docs

Layout/CaseIndentation:
  EnforcedStyle: case
  SupportedStyles:
    - case
    - end
  IndentOneStep: true

Style/PercentLiteralDelimiters:
  PreferredDelimiters:
    '%w': "[]"
    '%W': "[]"

Layout/AccessModifierIndentation:
  EnforcedStyle: outdent

Style/SignalException:
  Enabled: false

Layout/IndentationWidth:
  Enabled: false

Style/TrivialAccessors:
  ExactNameMatch: true

Layout/EndAlignment:
  EnforcedStyleAlignWith: variable

Layout/DefEndAlignment:
  Enabled: false

Lint/HandleExceptions:
  Enabled: false

Style/SpecialGlobalVars:
  Enabled: false

Style/TrivialAccessors:
  Enabled: false

Layout/IndentHash:
  Enabled: false

Style/DoubleNegation:
  Enabled: false

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pundit-2.0.0 .rubocop.yml
pundit-2.0.0.beta1 .rubocop.yml