programandoarg/pg_rails

View on GitHub
.rubocop_todo.yml

Summary

Maintainability
Test Coverage
# This configuration was generated by
# `rubocop --auto-gen-config --auto-gen-only-exclude`
# on 2024-02-08 19:12:49 UTC using RuboCop version 1.60.2.
# 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: 1
# Configuration parameters: AllowComments, AllowNil.
Lint/SuppressedException:
  Exclude:
    - 'pg_engine/app/lib/pg_engine/filtros_builder.rb'

# Offense count: 22
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
Metrics/AbcSize:
  Exclude:
    - 'pg_engine/app/controllers/concerns/pg_engine/resource.rb'
    - 'pg_engine/app/decorators/pg_engine/base_record_decorator.rb'
    - 'pg_engine/app/helpers/pg_engine/form_helper.rb'
    - 'pg_engine/app/helpers/pg_engine/index_helper.rb'
    - 'pg_engine/app/helpers/pg_engine/print_helper.rb'
    - 'pg_engine/app/lib/pg_engine/filtros_builder.rb'
    - 'pg_scaffold/lib/pg_scaffold/monkey_patches/mejoras_de_atributos.rb'

# Offense count: 4
# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
# AllowedMethods: refine
Metrics/BlockLength:
  Exclude:
    - 'pg_engine/app/controllers/concerns/pg_engine/resource.rb'
    - 'pg_engine/app/lib/pg_engine/filtros_builder.rb'
    - 'pg_engine/config/simple_form/simple_form_bootstrap.rb'
    - 'pg_engine/app/admin/*'

# Offense count: 1
# Configuration parameters: CountComments, Max, CountAsOne.
Metrics/ClassLength:
  Exclude:
    - 'pg_engine/app/lib/pg_engine/filtros_builder.rb'

# Offense count: 5
# Configuration parameters: AllowedMethods, AllowedPatterns, Max.
Metrics/CyclomaticComplexity:
  Exclude:
    - 'pg_engine/app/helpers/pg_engine/index_helper.rb'
    - 'pg_engine/app/lib/pg_engine/filtros_builder.rb'

# Offense count: 23
# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
  Exclude:
    - 'pg_engine/app/controllers/pg_engine/base_controller.rb'
    - 'pg_engine/app/controllers/concerns/pg_engine/resource.rb'
    - 'pg_engine/app/helpers/pg_engine/flash_helper.rb'
    - 'pg_engine/app/helpers/pg_engine/form_helper.rb'
    - 'pg_engine/app/helpers/pg_engine/index_helper.rb'
    - 'pg_engine/app/helpers/pg_engine/print_helper.rb'
    - 'pg_engine/app/lib/pg_engine/filtros_builder.rb'
    - 'pg_engine/lib/pg_engine/configuracion.rb'
    - 'pg_scaffold/lib/generators/pg_factory_bot/model/model_generator.rb'
    - 'pg_scaffold/lib/pg_scaffold/monkey_patches/mejoras_de_atributos.rb'

# Offense count: 2
# Configuration parameters: CountComments, Max, CountAsOne.
Metrics/ModuleLength:
  Exclude:
    - 'pg_engine/app/controllers/concerns/pg_engine/resource.rb'
    - 'pg_engine/app/helpers/pg_engine/print_helper.rb'

# Offense count: 6
# Configuration parameters: AllowedMethods, AllowedPatterns, Max.
Metrics/PerceivedComplexity:
  Exclude:
    - 'pg_engine/app/helpers/pg_engine/form_helper.rb'
    - 'pg_engine/app/helpers/pg_engine/index_helper.rb'
    - 'pg_engine/app/lib/pg_engine/filtros_builder.rb'

# Offense count: 2
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
# SupportedStyles: snake_case, normalcase, non_integer
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
Naming/VariableNumber:
  Exclude:
    - 'pg_scaffold/lib/generators/pg_scaffold/pg_scaffold_generator.rb'

# Offense count: 7
Rails/OutputSafety:
  Exclude:
    - 'pg_associable/app/inputs/pg_associable_input.rb'
    - 'pg_engine/app/decorators/pg_engine/base_record_decorator.rb'
    - 'pg_engine/app/helpers/pg_engine/index_helper.rb'
    - 'pg_engine/app/helpers/pg_engine/print_helper.rb'
    - 'pg_engine/app/lib/pg_engine/filtros_builder.rb'

# Offense count: 12
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
# URISchemes: http, https
Layout/LineLength:
  Exclude:
    - 'pg_associable/app/inputs/pg_associable_input.rb'
    - 'pg_engine/app/decorators/pg_engine/base_record_decorator.rb'
    - 'pg_engine/app/lib/pg_engine/filtros_builder.rb'
    - 'pg_engine/config/simple_form/simple_form_bootstrap.rb'
    - 'pg_engine/lib/pg_engine/configuracion.rb'