.rubocop.yml in groupie-0.5.0 vs .rubocop.yml in groupie-0.6.0
- old
+ new
@@ -16,23 +16,26 @@
Exclude:
- 'spec/**/*_spec.rb'
# RSpec has a lot of blocks, so ignore this rule there
Metrics/BlockLength:
+ Severity: info
Exclude:
- 'spec/**/*_spec.rb'
# I prefer to see the class name over "described_class"
RSpec/DescribedClass:
EnforcedStyle: explicit
# I prefer groups for structure, so the defaults are a little too strict for me
RSpec/NestedGroups:
+ Severity: info
Max: 4
# I prefer more verbose examples, so tend to use more lines than the defaults
RSpec/ExampleLength:
+ Severity: info
Max: 20
# For strings I enjoy using %w[], but for symbols the %i[] syntax just does not click.
Style/SymbolArray:
EnforcedStyle: brackets
@@ -48,6 +51,6 @@
EnforcedStyle: consistent # default is special_inside_parentheses
Layout/FirstHashElementIndentation:
EnforcedStyle: consistent # default is special_inside_parentheses
# Let's enforce this to be consistent
Layout/EndOfLine:
- EnforcedStyle: lf # \n (unix line end) enforced everywhere, default is native
\ No newline at end of file
+ EnforcedStyle: lf # \n (unix line end) enforced everywhere, default is native