Sha256: 15c7a3ae356505f05e032911b61e829ae45b6eb90672f9880cf3fa54c011890a
Contents?: true
Size: 1.8 KB
Versions: 1
Compression:
Stored size: 1.8 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 AllCops: Exclude: - !ruby/regexp /node_modules/ - !ruby/regexp /db\/schema\.rb/ - 'vendor/bundle/**/*'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reevoocop-0.0.7 | lib/reevoocop.yml |