Sha256: b27bfe06d8c7a02648e2056baa9b0055628433ce85550e59d3a8a526e712ec56

Contents?: true

Size: 1.95 KB

Versions: 2

Compression:

Stored size: 1.95 KB

Contents

inherit_from: .rubocop_todo.yml

require:
  - rubocop-minitest
  - rubocop-rake

AllCops:
  TargetRubyVersion: 2.6
  NewCops: enable

Gemspec/DevelopmentDependencies:
  Enabled: false

Gemspec/RequiredRubyVersion:
  Enabled: false

Gemspec/RequireMFA:
  Enabled: false

Layout/EndOfLine:
  EnforcedStyle: lf

Layout/ExtraSpacing:
  Enabled: false

Layout/FirstParameterIndentation:
  Enabled: false

Layout/HashAlignment:
  EnforcedHashRocketStyle: table
  EnforcedColonStyle: table

Layout/HeredocIndentation:
  Enabled: false

Layout/LineLength:
  Max: 7000

Layout/MultilineMethodCallIndentation:
  Enabled: false

Lint/DuplicateBranch:
  IgnoreLiteralBranches: true
  Exclude:
    - 'lib/write_xlsx/worksheet.rb'

Lint/UnderscorePrefixedVariableName:
  Enabled: false

Lint/UselessSetterCall:
  Exclude:
    - 'lib/write_xlsx/worksheet.rb'

Metrics/AbcSize:
  Max: 350

Metrics/BlockLength:
  Max: 100

Metrics/ClassLength:
  Max: 4500

Metrics/CyclomaticComplexity:
  Max: 50

Metrics/MethodLength:
  Max: 400

Metrics/ModuleLength:
  Max: 1000

Metrics/ParameterLists:
  Max: 12
  MaxOptionalParameters: 6

Metrics/PerceivedComplexity:
  Max: 50

Naming/HeredocDelimiterNaming:
  Enabled: false

Naming/MethodName:
  Enabled: false

Naming/MethodParameterName:
  Enabled: false

Naming/VariableNumber:
  Enabled: false

Style/AccessorGrouping:
  Enabled: false

Style/ConditionalAssignment:
  Exclude:
    - 'lib/write_xlsx/worksheet.rb'

Style/Encoding:
  Enabled: false

Style/FormatString:
  Enabled: false

Style/FormatStringToken:
  EnforcedStyle: unannotated

Style/HashSyntax:
  EnforcedStyle: ruby19_no_mixed_keys
  EnforcedShorthandSyntax: either

Style/IfUnlessModifier:
  Enabled: false

Style/NumericLiterals:
  MinDigits: 10

Style/OptionalBooleanParameter:
  Enabled: false

Style/RaiseArgs:
  Enabled: false

Style/SlicingWithRange:
  Enabled: false

Style/StringLiterals:
  Enabled: false

Style/StringLiteralsInInterpolation:
  Enabled: true
  EnforcedStyle: double_quotes

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
write_xlsx-1.12.1 .rubocop.yml
write_xlsx-1.12.0 .rubocop.yml