Sha256: a1ca1bd75339bf749bf5fbe5757299abe1b2217ee028236f9f6ede2a068aee07

Contents?: true

Size: 1.61 KB

Versions: 2

Compression:

Stored size: 1.61 KB

Contents

AllCops:
  NewCops: enable
  TargetRubyVersion: 3.0
  Exclude:
    - examples/**/*.rb
    - lib/discorb/emoji_table.rb  # Auto-generated

Layout:
  Enabled: false
Metrics:
  Enabled: false

Style/TrailingCommaInHashLiteral:  # Disabled for rufo
  EnforcedStyleForMultiline: consistent_comma

Style/TrailingCommaInArrayLiteral:  # Disabled for rufo
  EnforcedStyleForMultiline: consistent_comma

Style/StringLiterals:  # Disabled for rufo
  EnforcedStyle: double_quotes

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

Naming/FileName: # For able to use `require "discorb-voice"`
  Enabled: false

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
discorb-voice-0.1.2 .rubocop.yml
discorb-voice-0.1.1 .rubocop.yml