config/rubocop.yml in bookingsync-stylecheck-0.0.12 vs config/rubocop.yml in bookingsync-stylecheck-0.0.13
- old
+ new
@@ -8,28 +8,30 @@
- "db/**/*"
- "tmp/**/*"
- "vendor/**/*"
- "bin/**/*"
- "log/**/*"
+ - "node_modules/**/*.js"
+ - "node_modules/**/*.spec"
Layout/AccessModifierIndentation:
Enabled: true
-Style/AccessorMethodName:
+Naming/AccessorMethodName:
Enabled: true
Style/Alias:
Enabled: true
EnforcedStyle: prefer_alias_method
-Layout/AlignArray:
+Layout/ArrayAlignment:
Enabled: false
-Layout/AlignHash:
+Layout/HashAlignment:
Enabled: false
-Layout/AlignParameters:
+Layout/ParameterAlignment:
EnforcedStyle: with_fixed_indentation
Enabled: true
Style/AndOr:
Enabled: false
@@ -38,11 +40,11 @@
Enabled: true
Style/AsciiComments:
Enabled: true
-Style/AsciiIdentifiers:
+Naming/AsciiIdentifiers:
Enabled: true
Style/Attr:
Enabled: true
@@ -56,24 +58,20 @@
Enabled: true
Layout/BlockEndNewline:
Enabled: true
-Style/BracesAroundHashParameters:
- Enabled: true
- EnforcedStyle: context_dependent
-
Style/CaseEquality:
Enabled: true
Layout/CaseIndentation:
Enabled: true
Style/CharacterLiteral:
Enabled: true
-Style/ClassAndModuleCamelCase:
+Naming/ClassAndModuleCamelCase:
Enabled: true
Style/ClassCheck:
Enabled: true
@@ -119,11 +117,10 @@
Layout/EmptyLinesAroundMethodBody:
Enabled: true
Style/Encoding:
Enabled: false
- EnforcedStyle: never
Style/HashSyntax:
Enabled: true
Layout/IndentationConsistency:
@@ -178,11 +175,11 @@
Enabled: true
Layout/SpaceAroundOperators:
Enabled: true
-Layout/SpaceInsideBrackets:
+Layout/SpaceInsideArrayLiteralBrackets:
Enabled: true
Layout/SpaceInsideHashLiteralBraces:
Enabled: true
@@ -192,22 +189,22 @@
Style/StringLiterals:
EnforcedStyle: double_quotes
ConsistentQuotesInMultiline: true
Enabled: true
-Layout/Tab:
+Layout/IndentationStyle:
Enabled: true
-Layout/TrailingBlankLines:
+Layout/TrailingEmptyLines:
Enabled: true
Style/TrailingCommaInArguments:
Enabled: true
Layout/TrailingWhitespace:
Enabled: true
-Lint/EndAlignment:
+Layout/EndAlignment:
EnforcedStyleAlignWith: variable
Enabled: true
Lint/UselessAssignment:
Enabled: true