# This configuration was generated by # `rubocop --auto-gen-config` # on 2021-01-11 12:24:03 UTC using RuboCop version 0.93.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: 1 # Configuration parameters: Include. # Include: **/*.gemspec Gemspec/RequiredRubyVersion: Exclude: - 'gitlab-exporter.gemspec' # Offense count: 3 Lint/AmbiguousBlockAssociation: Exclude: - 'spec/git_spec.rb' - 'spec/util_spec.rb' # Offense count: 2 # Configuration parameters: MaximumRangeSize. Lint/MissingCopEnableDirective: Exclude: - 'spec/database/ci_builds_spec.rb' - 'spec/git_process_proper_spec.rb' # Offense count: 1 # Cop supports --auto-correct. Lint/NonDeterministicRequireOrder: Exclude: - 'spec/spec_helper.rb' # Offense count: 16 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods. # ExcludedMethods: refine Metrics/BlockLength: Max: 349 # Offense count: 1 # Configuration parameters: IgnoredMethods. Metrics/CyclomaticComplexity: Max: 8 # Offense count: 1 # Configuration parameters: IgnoredMethods. Metrics/PerceivedComplexity: Max: 9 # Offense count: 1 # Configuration parameters: EnforcedStyle, AllowModifiersOnSymbols. # SupportedStyles: inline, group Style/AccessModifierDeclarations: Exclude: - 'lib/gitlab_exporter/util.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods. # AllowedMethods: present?, blank?, presence, try, try! Style/SafeNavigation: Exclude: - 'lib/gitlab_exporter/database/base.rb'