Skip to content

Commit

Permalink
Update .rubocop_todo.yml
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
texpert committed Nov 12, 2023
1 parent 5021b13 commit 73abd3d
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-02-08 21:38:48 UTC using RuboCop version 1.44.1.
# on 2023-11-12 20:41:57 UTC using RuboCop version 1.56.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 4
# Offense count: 3
# Configuration parameters: AllowedMethods.
# AllowedMethods: enums
Lint/ConstantDefinitionInBlock:
Exclude:
- 'app/models/concerns/camaleon_cms/user_methods.rb'
- 'config/initializers/active_record_extension.rb'
- 'config/initializers/model_alias.rb'

# Offense count: 3
Expand All @@ -32,13 +31,13 @@ Lint/SuppressedException:
Lint/UnderscorePrefixedVariableName:
Enabled: false

# Offense count: 169
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
# Offense count: 168
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 143

# Offense count: 18
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods, inherit_mode.
# Offense count: 17
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
# AllowedMethods: refine
Metrics/BlockLength:
Max: 125
Expand All @@ -48,18 +47,18 @@ Metrics/BlockLength:
Metrics/BlockNesting:
Max: 5

# Offense count: 20
# Offense count: 21
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 369

# Offense count: 53
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/CyclomaticComplexity:
Max: 62

# Offense count: 145
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
# Offense count: 146
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 335

Expand All @@ -74,8 +73,8 @@ Metrics/ParameterLists:
MaxOptionalParameters: 7
Max: 8

# Offense count: 45
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
# Offense count: 46
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/PerceivedComplexity:
Max: 63

Expand All @@ -95,6 +94,7 @@ Naming/AccessorMethodName:
- 'lib/plugin_routes.rb'

# Offense count: 8
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyleForLeadingUnderscores.
# SupportedStylesForLeadingUnderscores: disallowed, required, optional
Naming/MemoizedInstanceVariableName:
Expand All @@ -107,7 +107,7 @@ Naming/MemoizedInstanceVariableName:
- 'app/models/concerns/camaleon_cms/user_methods.rb'

# Offense count: 10
# Configuration parameters: EnforcedStyle, AllowedPatterns, IgnoredPatterns.
# Configuration parameters: EnforcedStyle, AllowedPatterns.
# SupportedStyles: snake_case, camelCase
Naming/MethodName:
Exclude:
Expand Down Expand Up @@ -151,7 +151,7 @@ Naming/PredicateName:
# Offense count: 5
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
# SupportedStyles: snake_case, normalcase, non_integer
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
Naming/VariableNumber:
Exclude:
- 'app/controllers/camaleon_cms/frontend_controller.rb'
Expand Down Expand Up @@ -196,13 +196,12 @@ Style/GuardClause:
- 'app/validators/camaleon_cms/post_uniq_validator.rb'
- 'app/validators/camaleon_cms/uniq_validator.rb'

# Offense count: 33
# Offense count: 32
# This cop supports safe autocorrection (--autocorrect).
Style/IfUnlessModifier:
Exclude:
- 'app/apps/plugins/visibility_post/visibility_post_helper.rb'
- 'app/controllers/camaleon_cms/admin/appearances/widgets/sidebar_controller.rb'
- 'app/controllers/camaleon_cms/frontend_controller.rb'
- 'app/helpers/camaleon_cms/admin/menus_helper.rb'
- 'app/helpers/camaleon_cms/admin/post_type_helper.rb'
- 'app/helpers/camaleon_cms/comment_helper.rb'
Expand All @@ -219,9 +218,9 @@ Style/IfUnlessModifier:
Style/OptionalBooleanParameter:
Enabled: false

# Offense count: 277
# Offense count: 261
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 2326

0 comments on commit 73abd3d

Please sign in to comment.