.rubocop.yml in ndr_import-3.1.1 vs .rubocop.yml in ndr_import-3.1.2
- old
+ new
@@ -1,8 +1,7 @@
-# By default, would enforce { key: value } rather than { :key => value }.
-AllCops:
- RunRailsCops: true
+Rails:
+ Enabled: true
# Multi-line method chaining should be done with trailing dots.
Style/DotPosition:
EnforcedStyle: trailing
@@ -19,9 +18,11 @@
# ...
LineLength:
Max: 99
# Relax some of the cops for tests
-Metrics/ClassLength: &exclude_tests
+Metrics/ClassLength:
Exclude:
- test/**/*.rb
-Metrics/MethodLength: *exclude_tests
+Metrics/MethodLength:
+ Exclude:
+ - test/**/*.rb