Sha256: af31032fe27f190474a4ac6e88710d7beea51a0e1b39e0b363c8517a1d166e44

Contents?: true

Size: 1.55 KB

Versions: 1

Compression:

Stored size: 1.55 KB

Contents

AllCops:
  Exclude:
    - '*.gemspec'
    - 'vendor/**/*'

Lint/EndAlignment:
  EnforcedStyleAlignWith: variable

Lint/UnneededSplatExpansion:
  Enabled: false

Metrics/AbcSize:
  Max: 30

Metrics/BlockLength:
  Exclude:
    - 'lib/image_optim/runner/option_parser.rb'
    - 'script/worker_analysis'
    - 'spec/**/*.rb'

Metrics/ClassLength:
  Max: 150

Metrics/CyclomaticComplexity:
  Max: 10

Metrics/MethodLength:
  Max: 25

Metrics/PerceivedComplexity:
  Max: 8

Security/MarshalLoad:
  Exclude:
    - 'script/worker_analysis'

Style/AccessModifierIndentation:
  EnforcedStyle: outdent

Style/Alias:
  EnforcedStyle: prefer_alias_method

Style/CaseIndentation:
  EnforcedStyle: end

Style/DotPosition:
  EnforcedStyle: trailing

Style/DoubleNegation:
  Enabled: false

Style/EmptyCaseCondition:
  Enabled: false

Style/Encoding:
  EnforcedStyle: when_needed

Style/HashSyntax:
  EnforcedStyle: hash_rockets

Style/IfUnlessModifier:
  MaxLineLength: 40

Style/IndentArray:
  EnforcedStyle: consistent

Style/IndentAssignment:
  Enabled: false

Style/IndentHash:
  EnforcedStyle: consistent

Style/ParallelAssignment:
  Enabled: false

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

Style/Semicolon:
  AllowAsExpressionSeparator: true

Style/SignalException:
  EnforcedStyle: semantic

Style/SpaceBeforeBlockBraces:
  EnforcedStyle: no_space

Style/SpaceInsideHashLiteralBraces:
  EnforcedStyle: no_space

Style/TrailingCommaInArguments:
  EnforcedStyleForMultiline: no_comma

Style/TrailingCommaInLiteral:
  EnforcedStyleForMultiline: comma

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
image_optim-0.24.2 .rubocop.yml