Sha256: 1609c8d4feff81c47b52d2a0e2579da647a47f415143476cfdcbfd5d677ff43f
Contents?: true
Size: 1.99 KB
Versions: 2
Compression:
Stored size: 1.99 KB
Contents
LineLength: Max: 120 # See https://github.com/reevoo/reevoocop/pull/13 # * Other metrics like complexity should discorage complexity # * Sometimes it is less clear to squeese things on too few lines Metrics/MethodLength: Enabled: false Documentation: Enabled: false AndOr: Enabled: false # Allow use of empty lines to visually group code into 'paragraphs' EmptyLines: Enabled: false # Keeping parameters in a line makes them easier to read, but in long lines the # parameters look ridiculous if using the "with_first_parameter" option, making # it more difficult to read the code Style/AlignParameters: EnforcedStyle: with_fixed_indentation # Blank lines are useful in separating methods, specs, etc. from one another, # and improves the aesthetics of the code. Consequently, we've enabled # EmptyLines around blocks and methods. This is less desirable for Classes and # Modules where the definitions may be usefully put on consecutive lines, e.g.: # # module API # module Auth # class Person # ... etc # Style/EmptyLinesAroundBlockBody: Enabled: true Style/EmptyLinesAroundClassBody: Enabled: false Style/EmptyLinesAroundMethodBody: Enabled: true Style/EmptyLinesAroundModuleBody: Enabled: false # See https://github.com/reevoo/reevoocop/issues/10 Style/ModuleFunction: Enabled: false # See more here: https://viget.com/extend/just-use-double-quoted-ruby-strings Style/StringLiterals: EnforcedStyle: double_quotes Style/StringLiteralsInInterpolation: EnforcedStyle: double_quotes # See https://github.com/reevoo/reevoocop/issues/1 # * For cleaner git diffs # * Simpler :sort: TrailingComma: Enabled: true EnforcedStyleForMultiline: comma SupportedStyles: - comma - no_comma # See https://github.com/reevoo/reevoocop/issues/18 # We are fine with using double negation to to force # something truthy or falsy to true or false Style/DoubleNegation: Enabled: false AllCops: Exclude: - !ruby/regexp /node_modules/ - !ruby/regexp /db\/schema\.rb/ - 'vendor/bundle/**/*'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
reevoocop-0.0.9 | lib/reevoocop.yml |
reevoocop-0.0.8 | lib/reevoocop.yml |