.rubocop.yml in email_inquire-0.9.0 vs .rubocop.yml in email_inquire-0.10.0

- old
+ new

@@ -69,60 +69,59 @@ Lint/UnusedMethodArgument: AllowUnusedKeywordArguments: true IgnoreEmptyMethods: true Metrics/AbcSize: - Enabled: false # todo + Enabled: true Max: 20 # default: 15 Metrics/BlockLength: - Enabled: false # todo + Enabled: true Metrics/CyclomaticComplexity: - Enabled: false # todo + Enabled: true Max: 10 # default: 6 Metrics/LineLength: Enabled: true Max: 100 # default: 80 IgnoredPatterns: - "^ *#" # comments Metrics/MethodLength: - Enabled: false # todo + Enabled: true Max: 12 # default: 10 Metrics/PerceivedComplexity: - Enabled: false # todo + Enabled: true Max: 10 # default: 7 Naming/VariableNumber: EnforcedStyle: snake_case -Style/AsciiComments: +Style/AccessModifierDeclarations: Enabled: false Style/AndOr: Enabled: true EnforcedStyle: conditionals +Style/AsciiComments: + Enabled: false + Style/BracesAroundHashParameters: Enabled: false Style/Dir: Enabled: true Style/Documentation: Enabled: false Style/FrozenStringLiteralComment: - Enabled: false # we'll do later + Enabled: true -Style/Lambda: - Enabled: false - - Style/MethodCallWithArgsParentheses: Enabled: true # false by default Exclude: - "Gemfile" IgnoreMacros: true @@ -165,72 +164,5 @@ Style/TrailingCommaInArrayLiteral: EnforcedStyleForMultiline: comma Style/TrailingCommaInHashLiteral: EnforcedStyleForMultiline: comma - -# -# Temporary disabled -# - -Layout/EmptyLinesAroundArguments: - Enabled: false # buggy yet - -Lint/IneffectiveAccessModifier: - Enabled: false - -Lint/MissingCopEnableDirective: - Enabled: false - -Lint/RescueException: - Enabled: false - -Lint/ShadowedException: - Enabled: false - -Metrics/BlockNesting: - Enabled: false - -Metrics/ClassLength: - Enabled: false - -Metrics/ModuleLength: - Enabled: false - -Metrics/ParameterLists: - Enabled: false - -Naming/AccessorMethodName: - Enabled: false - -Naming/PredicateName: - Enabled: false - -Security/Eval: - Enabled: false - -Style/ClassAndModuleChildren: - Enabled: false - -Style/ClassVars: - Enabled: false - -Style/DateTime: - Enabled: false - -Style/FormatStringToken: - Enabled: false # issue with strftime - -Style/GuardClause: - Enabled: false - -Style/MixinUsage: - Enabled: false - -Style/NumericPredicate: - Enabled: false - -Style/SafeNavigation: - Enabled: false - -Style/StructInheritance: - Enabled: false