.rubocop.yml in html2rss-0.3.3 vs .rubocop.yml in html2rss-0.4.0

- old
+ new

@@ -1,7 +1,8 @@ require: - - 'rubocop-performance' + - rubocop-performance + - rubocop-rspec AllCops: TargetRubyVersion: 2.4 DisplayCopNames: true @@ -19,31 +20,37 @@ Documentation: Enabled: false Style/BlockDelimiters: - Enabled: false + Enabled: true + Exclude: + - '**/*_spec.rb' Style/FrozenStringLiteralComment: Enabled: false -Style/ParallelAssignment: - Enabled: false - Style/AsciiComments: Enabled: false Style/BracesAroundHashParameters: Description: 'Enforce braces style around hash parameters.' Enabled: true Style/HashSyntax: - Description: >- - Prefer Ruby 1.9 hash syntax { a: 1, b: 2 } over 1.8 syntax - { :a => 1, :b => 2 }. - StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#hash-literals' Enabled: true Layout/SpaceInsideParens: - Description: 'No spaces after ( or before ).' - StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-spaces-braces' Enabled: true + +Performance/CaseWhenSplat: + Enabled: true + +Performance/ChainArrayAllocation: + Enabled: true + +Performance/OpenStruct: + Enabled: true + +RSpec/NestedGroups: + Exclude: + - spec/html2rss_spec.rb