.rubocop.yml
AllCops:
NewCops: enable
Layout/FirstArrayElementIndentation:
Enabled: false
Layout/LineLength:
Max: 82
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
Metrics/AbcSize:
Max: 35
Metrics/BlockLength:
CountComments: true
Max: 25
IgnoredMethods: []
Exclude:
- "spec/**/*"
Metrics/ClassLength:
Max: 1500
Metrics/MethodLength:
Max: 20
Naming/FileName:
Exclude:
- "lib/tty-sparkline.rb"
Style/AccessorGrouping:
Enabled: false
Style/AsciiComments:
Enabled: false
Style/BlockDelimiters:
Enabled: false
Style/CommentedKeyword:
Enabled: false
Style/LambdaCall:
EnforcedStyle: braces
Style/StringLiterals:
Enabled: true
EnforcedStyle: double_quotes
Style/StringLiteralsInInterpolation:
Enabled: true
EnforcedStyle: double_quotes