.rubocop.yml in sequitur-0.1.18 vs .rubocop.yml in sequitur-0.1.19
- old
+ new
@@ -1,82 +1,196 @@
AllCops:
Exclude:
- - 'examples/**/*'
- - 'features/**/*'
- - 'gems/**/*'
+ - 'exp/**/*'
- 'lab/**/*'
-AbcSize:
- Max: 20
-
-# This is disabled because some demos use UTF-8
-AsciiComments:
+Layout/CaseIndentation:
Enabled: false
-
-Attr:
+
+Layout/CommentIndentation:
Enabled: false
-
-CaseIndentation:
- IndentWhenRelativeTo: end
- IndentOneStep: true
-# Rubocop enforces the use of is_a? instead of kind_of?
-# Which is contrary to modelling practice.
-ClassCheck:
+Layout/ElseAlignment:
Enabled: false
-
-ClassLength:
- Max: 250
- CountComments: false
-ConstantName:
+Layout/EmptyLines:
Enabled: false
-CyclomaticComplexity:
+Layout/EndAlignment:
Enabled: false
-
-DefWithParentheses:
+
+Layout/EndOfLine:
+ Enabled: true
+ EnforcedStyle: lf
+
+Layout/IndentationWidth:
Enabled: false
+
+Layout/IndentationConsistency:
+ Enabled: true
-Documentation:
+Layout/IndentHeredoc:
Enabled: false
-EmptyLines:
- Enabled: false
+Layout/MultilineHashBraceLayout:
+ Enabled: true
-Encoding:
- Enabled: false
+Layout/SpaceAroundOperators:
+ Enabled: true
+
+Layout/SpaceInsideParens:
+ Enabled: true
-IndentationWidth :
+Layout/Tab:
+ Enabled: true
+
+Layout/TrailingBlankLines:
+ Enabled: true
+
+Layout/TrailingWhitespace:
+ Enabled: true
+
+Lint/Loop:
+ Enabled: true
+
+Lint/RescueException:
+ Enabled: true
+
+Lint/UnusedMethodArgument:
+ Enabled: true
+
+Lint/UselessAccessModifier:
+ Enabled: true
+
+Lint/Void:
Enabled: false
+
+Lint/UselessAssignment:
+ Enabled: true
+
+Metrics/AbcSize:
+ Enabled: false
+
+Metrics/BlockLength:
+ Enabled: true
+ Max: 350
+
+Metrics/ClassLength:
+ Enabled: true
+ Max: 350
+
+Metrics/CyclomaticComplexity:
+ Enabled: false
+
+Metrics/LineLength:
+ Enabled: false
+ Max: 90
+
+Metrics/MethodLength:
+ Enabled: true
+ Max: 40
+
+Metrics/ModuleLength:
+ Enabled: true
+ Max: 500
+
+Metrics/PerceivedComplexity:
+ Enabled: false
+
+Naming/ConstantName:
+ Enabled: false
+
+Naming/ClassAndModuleCamelCase:
+ Enabled: false
+Naming/UncommunicativeBlockParamName:
+ Enabled: true
-# Avoid methods longer than 50 lines of code
-MethodLength:
- Max: 50
- CountComments: false
-
-# Avoid modules longer than 400 lines of code
-ModuleLength:
- Max: 400
-
-NonNilCheck:
+Naming/UncommunicativeMethodParamName:
Enabled: false
-NumericLiterals:
+Naming/VariableName:
Enabled: false
-
-RaiseArgs:
+
+Style/Alias:
+ Enabled: true
+
+Layout/AlignHash:
Enabled: false
-
-RedundantReturn:
+
+Style/AsciiComments:
Enabled: false
-SpaceInsideBrackets:
+Style/BarePercentLiterals:
Enabled: false
-TrailingWhitespace:
+Style/BlockComments:
Enabled: false
+
+Style/CharacterLiteral:
+ Enabled: false
+
+Style/ClassCheck:
+ Enabled: false
+
+Style/ClassVars:
+ Enabled: false
+
+Style/ColonMethodCall:
+ Enabled: false
+
+Style/CommentAnnotation:
+ Enabled: false
+
+Style/CommentedKeyword:
+ Enabled: false
+
+Style/ConditionalAssignment:
+ Enabled: false
+
+Style/DefWithParentheses:
+ Enabled: true
+
+Style/Documentation:
+ Enabled: false
+
+Style/ExpandPathArguments:
+ Enabled: false
+
+Style/GuardClause:
+ Enabled: false
+
+Style/IfUnlessModifier:
+ Enabled: false
+
+Style/InverseMethods:
+ Enabled: true
+
+Style/Next:
+ Enabled: false
+
+Style/RaiseArgs:
+ Enabled: true
+
+Style/RedundantReturn:
+ Enabled: false
-VariableName:
+Style/RedundantSelf:
+ Enabled: true
+
+Style/RegexpLiteral:
Enabled: false
+
+Style/PercentLiteralDelimiters:
+ Enabled: false
+Style/StderrPuts:
+ Enabled: false
+
+Style/StringLiterals:
+ Enabled: true
+
+Style/TernaryParentheses:
+ Enabled: false
+
+Style/UnlessElse:
+ Enabled: false
\ No newline at end of file