.rubocop.yml in webauthn-3.0.0.alpha1 vs .rubocop.yml in webauthn-3.0.0.alpha2

- old
+ new

@@ -1,15 +1,17 @@ require: - rubocop-rspec + - rubocop-rake inherit_mode: merge: - AllowedNames AllCops: - TargetRubyVersion: 2.4 + TargetRubyVersion: 2.5 DisabledByDefault: true + NewCops: disable Exclude: - "gemfiles/**/*" - "vendor/**/*" Bundler: @@ -22,10 +24,16 @@ Enabled: true Layout/ClassStructure: Enabled: true +Layout/EmptyLineBetweenDefs: + AllowAdjacentOneLineDefs: true + +Layout/EmptyLinesAroundAttributeAccessor: + Enabled: true + Layout/FirstMethodArgumentLineBreak: Enabled: true Layout/LineLength: Max: 120 @@ -36,14 +44,62 @@ Enabled: true Layout/MultilineMethodArgumentLineBreaks: Enabled: true +Layout/SpaceAroundMethodCallOperator: + Enabled: true + Lint: Enabled: true +Lint/DeprecatedOpenSSLConstant: + Enabled: true + +Lint/MixedRegexpCaptureTypes: + Enabled: true + +Lint/RaiseException: + Enabled: true + +Lint/StructNewOverride: + Enabled: true + +Lint/BinaryOperatorWithIdenticalOperands: + Enabled: true + +Lint/DuplicateElsifCondition: + Enabled: true + +Lint/DuplicateRescueException: + Enabled: true + +Lint/EmptyConditionalBody: + Enabled: true + +Lint/FloatComparison: + Enabled: true + +Lint/MissingSuper: + Enabled: true + +Lint/OutOfRangeRegexpRef: + Enabled: true + +Lint/SelfAssignment: + Enabled: true + +Lint/TopLevelReturnWithArgument: + Enabled: true + +Lint/UnreachableLoop: + Enabled: true + Naming: Enabled: true + +Naming/VariableNumber: + Enabled: false RSpec/Be: Enabled: true RSpec/BeforeAfterAll: