.rubocop.yml in webauthn-2.4.1 vs .rubocop.yml in webauthn-2.5.0
- old
+ new
@@ -1,15 +1,17 @@
require:
- rubocop-rspec
+ - rubocop-rake
inherit_mode:
merge:
- AllowedNames
AllCops:
TargetRubyVersion: 2.4
DisabledByDefault: true
+ NewCops: disable
Exclude:
- "gemfiles/**/*"
- "vendor/**/*"
Bundler:
@@ -22,10 +24,13 @@
Enabled: true
Layout/ClassStructure:
Enabled: true
+Layout/EmptyLineBetweenDefs:
+ AllowAdjacentOneLineDefs: true
+
Layout/EmptyLinesAroundAttributeAccessor:
Enabled: true
Layout/FirstMethodArgumentLineBreak:
Enabled: true
@@ -89,9 +94,12 @@
Lint/UnreachableLoop:
Enabled: true
Naming:
Enabled: true
+
+Naming/VariableNumber:
+ Enabled: false
RSpec/Be:
Enabled: true
RSpec/BeforeAfterAll: