Sha256: 45f3e264db8804119b66611afd2c7b83ad5ce551dee9f75122de4fbfad052707
Contents?: true
Size: 1.49 KB
Versions: 1
Compression:
Stored size: 1.49 KB
Contents
require: - 'rubocop-performance' - 'rubocop-rake' - 'rubocop-rspec' AllCops: NewCops: enable TargetRubyVersion: 2.7 Exclude: # Generated protobuf files - 'lib/**/*_pb.rb' - 'vendor/**/*' Layout/ArgumentAlignment: EnforcedStyle: with_fixed_indentation Layout/MultilineMethodCallIndentation: EnforcedStyle: indented Layout/MultilineMethodCallBraceLayout: EnforcedStyle: new_line Lint/AmbiguousBlockAssociation: # For rspec AllowedPatterns: ['change'] Metrics/MethodLength: Max: 15 # The rspec defaults are way too tight. RSpec/ExampleLength: Max: 15 RSpec/MultipleExpectations: Max: 4 RSpec/MultipleMemoizedHelpers: Max: 10 # I disagree with this one. It should be clear you're using the subject. RSpec/NamedSubject: Enabled: false RSpec/NestedGroups: Max: 4 RSpec/ImplicitSubject: EnforcedStyle: single_statement_only # end.method looks really weird, and the other styles are too fussy Style/BlockDelimiters: Enabled: false # Enable it if they ever do anything with it. Style/FrozenStringLiteralComment: Enabled: false # In a language which returns it's last evaluated expression, # it's useful to know when you intend to return vs when you don't. Style/RedundantReturn: Enabled: false # Too fussy, doesn't solve a problem Style/StringLiterals: Enabled: false Style/StringLiteralsInInterpolation: Enabled: false # I find the %x arrays hard to remember. Style/SymbolArray: Enabled: false Style/WordArray: Enabled: false Layout/LineLength: Max: 120
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
momento-0.2.0 | .rubocop.yml |