Sha256: 080cb8c16c983fa75f98584acc3b24376c4930a5fa1c1089e2130b52864020f2

Contents?: true

Size: 1.34 KB

Versions: 2

Compression:

Stored size: 1.34 KB

Contents

AllCops:
  NewCops: enable
  TargetRubyVersion: 3.0
  Exclude:
    - examples/**/*.rb

Layout:
  Enabled: false
Metrics:
  Enabled: false

Style/TrailingCommaInHashLiteral:  # Disabled for rufo
  Enabled: false

Style/StringLiterals:  # Disabled for rufo
  Enabled: false

Style/TrailingCommaInArguments:  # Disabled for rufo
  Enabled: false

Style/StringLiteralsInInterpolation:  # Disabled for rufo
  Enabled: false

Style/StringConcatenation:  # + looks better
  Enabled: false

Lint/MissingSuper:  # For abstract classes
  Enabled: false

Lint/AssignmentInCondition:  # Looks bad
  Enabled: false

Style/PerlBackrefs:  # It will be longer
  Enabled: false

Style/RedundantSelf:  # Looks local variable
  Enabled: false

Naming/VariableNumber:  # Discord API docs naming
  Enabled: false

Style/ParallelAssignment:  # It will be longer
  Enabled: false

Style/RedundantInterpolation:  # For make it extendable
  Enabled: false

Style/Next:  # For make it extendable
  Enabled: false

Lint/ShadowedException:  # False positive
  Enabled: false

Lint/AmbiguousOperatorPrecedence:  # Not needed
  Enabled: false

Style/GlobalVars: # For /exe
  Enabled: false

Lint/Debugger: # For /exe
  Enabled: false

Style/GuardClause: # For make it extendable
  Enabled: false

Layout/EndOfLine: # For git
  EnforcedStyle: lf

Lint/ScriptPermission: # For GitHub Actions
  Enabled: false

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
discorb-0.15.0 .rubocop.yml
discorb-0.14.0 .rubocop.yml