.rubocop.yml in webhook_system-2.3.1 vs .rubocop.yml in webhook_system-2.4.0
- old
+ new
@@ -1,33 +1,35 @@
inherit_from:
- - .rubocop.hound.yml
+ - .rubocop_todo.yml
+ - .rubocop.hound.yml
AllCops:
+ NewCops: enable
Exclude:
- '*.gemspec'
- 'Gemfile'
Style/Lambda:
Enabled: false
-Style/EmptyLinesAroundClassBody:
+Layout/EmptyLinesAroundClassBody:
Enabled: false
-Style/EmptyLinesAroundModuleBody:
+Layout/EmptyLinesAroundModuleBody:
Enabled: false
-Style/EmptyLinesAroundMethodBody:
+Layout/EmptyLinesAroundMethodBody:
Enabled: false
Style/ClassCheck:
Enabled: false
# we don't care about kind_of? vs is_a?
Style/StringLiterals:
Enabled: false
-Style/FileName:
+Naming/FileName:
Enabled: false
Style/RedundantException:
Enabled: false
@@ -35,15 +37,11 @@
Enabled: false
Style/BlockDelimiters:
Enabled: false
-Style/CollectionMethods:
- PreferredMethods:
- detect: find
-
# Github's PR width is 120 characters
-Metrics/LineLength:
+Layout/LineLength:
Max: 120
AllowURI: true
Exclude:
- spec/**/*