config/rubocop.yml in bookingsync-stylecheck-0.0.10 vs config/rubocop.yml in bookingsync-stylecheck-0.0.11
- old
+ new
@@ -9,28 +9,27 @@
- "tmp/**/*"
- "vendor/**/*"
- "bin/**/*"
- "log/**/*"
-Style/AccessModifierIndentation:
+Layout/AccessModifierIndentation:
Enabled: true
Style/AccessorMethodName:
Enabled: true
Style/Alias:
Enabled: true
EnforcedStyle: prefer_alias_method
-Style/AlignArray:
+Layout/AlignArray:
Enabled: true
-Style/AlignHash:
- EnforcedLastArgumentHashStyle: always_ignore
- Enabled: true
+Layout/AlignHash:
+ Enabled: false
-Style/AlignParameters:
+Layout/AlignParameters:
EnforcedStyle: with_fixed_indentation
Enabled: true
Style/AndOr:
Enabled: false
@@ -54,21 +53,21 @@
Enabled: true
Style/BlockComments:
Enabled: true
-Style/BlockEndNewline:
+Layout/BlockEndNewline:
Enabled: true
Style/BracesAroundHashParameters:
Enabled: true
EnforcedStyle: context_dependent
Style/CaseEquality:
Enabled: true
-Style/CaseIndentation:
+Layout/CaseIndentation:
Enabled: true
Style/CharacterLiteral:
Enabled: true
@@ -88,54 +87,54 @@
Enabled: true
Style/CommentAnnotation:
Enabled: true
-Style/CommentIndentation:
+Layout/CommentIndentation:
Enabled: true
Style/DefWithParentheses:
Enabled: true
-Style/DotPosition:
+Layout/DotPosition:
Enabled: true
-Style/ElseAlignment:
+Layout/ElseAlignment:
Enabled: true
Style/EmptyElse:
Enabled: true
-Style/EmptyLineBetweenDefs:
+Layout/EmptyLineBetweenDefs:
Enabled: true
-Style/EmptyLinesAroundBlockBody:
+Layout/EmptyLinesAroundBlockBody:
Enabled: true
-Style/EmptyLinesAroundClassBody:
+Layout/EmptyLinesAroundClassBody:
Enabled: true
-Style/EmptyLinesAroundModuleBody:
+Layout/EmptyLinesAroundModuleBody:
Enabled: true
-Style/EmptyLinesAroundMethodBody:
+Layout/EmptyLinesAroundMethodBody:
Enabled: true
Style/Encoding:
Enabled: true
EnforcedStyle: never
Style/HashSyntax:
Enabled: true
-Style/IndentationConsistency:
+Layout/IndentationConsistency:
Enabled: true
-Style/IndentationWidth:
+Layout/IndentationWidth:
Enabled: true
-Style/LeadingCommentSpace:
+Layout/LeadingCommentSpace:
Enabled: true
Style/MethodCallWithoutArgsParentheses:
Enabled: true
@@ -152,55 +151,55 @@
Enabled: true
Style/SingleLineMethods:
Enabled: true
-Style/SpaceAfterColon:
+Layout/SpaceAfterColon:
Enabled: true
-Style/SpaceAfterComma:
+Layout/SpaceAfterComma:
Enabled: true
-Style/SpaceAroundKeyword:
+Layout/SpaceAroundKeyword:
Enabled: true
-Style/SpaceAfterMethodName:
+Layout/SpaceAfterMethodName:
Enabled: true
-Style/SpaceAfterNot:
+Layout/SpaceAfterNot:
Enabled: true
-Style/SpaceAfterSemicolon:
+Layout/SpaceAfterSemicolon:
Enabled: true
-Style/SpaceInsideBlockBraces:
+Layout/SpaceInsideBlockBraces:
Enabled: true
-Style/SpaceAroundEqualsInParameterDefault:
+Layout/SpaceAroundEqualsInParameterDefault:
Enabled: true
-Style/SpaceAroundOperators:
+Layout/SpaceAroundOperators:
Enabled: true
-Style/SpaceInsideBrackets:
+Layout/SpaceInsideBrackets:
Enabled: true
-Style/SpaceInsideHashLiteralBraces:
+Layout/SpaceInsideHashLiteralBraces:
Enabled: true
-Style/SpaceInsideParens:
+Layout/SpaceInsideParens:
Enabled: true
Style/StringLiterals:
EnforcedStyle: double_quotes
ConsistentQuotesInMultiline: true
Enabled: true
-Style/Tab:
+Layout/Tab:
Enabled: true
-Style/TrailingBlankLines:
+Layout/TrailingBlankLines:
Enabled: true
Style/TrailingCommaInArguments:
Enabled: true
@@ -208,11 +207,14 @@
Enabled: true
Lint/EndAlignment:
EnforcedStyleAlignWith: variable
Enabled: true
+
+Lint/UselessAssignment:
+ Enabled: true
Style/SingleLineBlockParams:
- Enabled: true
+ Enabled: false
Style/SymbolArray:
Enabled: false