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