.rubocop.yml in circule-0.1.0 vs .rubocop.yml in circule-0.1.1
- old
+ new
@@ -1,13 +1,84 @@
AllCops:
- TargetRubyVersion: 2.4
+ NewCops: enable
+ TargetRubyVersion: 2.7
+Layout/ExtraSpacing:
+ Enabled: false
+
+Layout/FirstHashElementIndentation:
+ Enabled: false
+
+Layout/HashAlignment:
+ Enabled: false
+
+Layout/LineLength:
+ Max: 120
+
+Layout/MultilineMethodCallBraceLayout:
+ Enabled: false
+
+Layout/MultilineMethodCallIndentation:
+ Enabled: false
+
+Layout/SpaceAroundOperators:
+ Enabled: false
+
+Layout/SpaceBeforeFirstArg:
+ Enabled: false
+
+Layout/SpaceInsideArrayLiteralBrackets:
+ Enabled: false
+
+Lint/AmbiguousOperator:
+ Enabled: false
+
+Lint/AmbiguousOperatorPrecedence:
+ Enabled: false
+
+Lint/EmptyWhen:
+ Enabled: false
+
+Metrics/AbcSize:
+ Enabled: false
+
+Metrics/BlockLength:
+ Enabled: false
+
+Metrics/MethodLength:
+ Enabled: false
+
+Naming/MethodParameterName:
+ Enabled: false
+
+Metrics/ParameterLists:
+ Enabled: false
+
+Naming/MemoizedInstanceVariableName:
+ Enabled: false
+ EnforcedStyleForLeadingUnderscores: required
+
+Style/BlockDelimiters:
+ EnforcedStyle: semantic
+ BracesRequiredMethods: [button, entry, frame, label, spinbox]
+
+Style/ClassAndModuleChildren:
+ EnforcedStyle: compact
+
+Style/RescueModifier:
+ Enabled: false
+
+Style/Semicolon:
+ AllowAsExpressionSeparator: true
+
Style/StringLiterals:
- Enabled: true
- EnforcedStyle: double_quotes
+ EnforcedStyle: single_quotes
Style/StringLiteralsInInterpolation:
- Enabled: true
EnforcedStyle: double_quotes
-Layout/LineLength:
- Max: 120
+Style/TrailingCommaInArguments:
+ Enabled: false
+ EnforcedStyleForMultiline: consistent_comma
+
+Style/TrailingCommaInHashLiteral:
+ EnforcedStyleForMultiline: consistent_comma