.rubocop.yml in ndr_support-5.1.0 vs .rubocop.yml in ndr_support-5.2.0
- old
+ new
@@ -1,29 +2 @@
-Rails:
- Enabled: true
-
-# Multi-line method chaining should be done with trailing dots.
-Style/DotPosition:
- EnforcedStyle: trailing
-
-# By default, would enforce { key: value } rather than { :key => value }.
-HashSyntax:
- EnforcedStyle: hash_rockets
- SupportedStyles:
- - ruby19
- - hash_rockets
-
-# Would enforce "-> { }", which we cannot use yet.
-Lambda:
- Enabled: false
-
-# ...
-LineLength:
- Max: 99
-
-# Relax some of the cops for tests
-Metrics/ClassLength:
- Exclude:
- - test/**/*.rb
-Metrics/MethodLength:
- Exclude:
- - test/**/*.rb
+inherit_from: 'https://raw.githubusercontent.com/PublicHealthEngland/ndr_dev_support/master/.rubocop.yml'