# This configuration was generated by # `rubocop --auto-gen-config` # on 2017-08-15 12:46:37 +0200 using RuboCop version 0.46.0. # 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 Lint/HandleExceptions: Exclude: - 'lib/appsignal/cli/install.rb' # Offense count: 41 Metrics/AbcSize: Max: 59.92 # Offense count: 5 # Configuration parameters: CountComments. Metrics/BlockLength: Max: 31 # Offense count: 4 # Configuration parameters: CountComments. Metrics/ClassLength: Exclude: - "lib/appsignal/cli/diagnose.rb" - "lib/appsignal/cli/install.rb" - "lib/appsignal/config.rb" - "lib/appsignal/transaction.rb" # Offense count: 15 Metrics/CyclomaticComplexity: Max: 11 # Offense count: 471 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Metrics/LineLength: Max: 152 # Offense count: 88 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 60 # Offense count: 1 # Configuration parameters: CountComments. Metrics/ModuleLength: Exclude: - "lib/appsignal.rb" # Offense count: 9 Metrics/PerceivedComplexity: Max: 14 # Offense count: 10 Style/AccessorMethodName: Exclude: - 'lib/appsignal.rb' - 'lib/appsignal/transaction.rb' - 'spec/support/helpers/cli_helpers.rb' # Offense count: 20 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: prefer_alias, prefer_alias_method Style/Alias: Exclude: - 'lib/appsignal.rb' - 'lib/appsignal/hooks/active_support_notifications.rb' - 'lib/appsignal/hooks/celluloid.rb' - 'lib/appsignal/hooks/net_http.rb' - 'lib/appsignal/hooks/puma.rb' - 'lib/appsignal/hooks/rake.rb' - 'lib/appsignal/hooks/redis.rb' - 'lib/appsignal/hooks/unicorn.rb' - 'lib/appsignal/hooks/webmachine.rb' - 'lib/appsignal/transaction.rb' # Offense count: 1 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: nested, compact Style/ClassAndModuleChildren: Exclude: - 'lib/appsignal/integrations/padrino.rb' # Offense count: 3 Style/ClassVars: Exclude: - 'lib/appsignal/event_formatter.rb' - 'lib/appsignal/minutely.rb' # Offense count: 1 Style/DoubleNegation: Exclude: - 'lib/appsignal.rb' # Offense count: 5 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'lib/appsignal.rb' - 'lib/appsignal/event_formatter.rb' - 'lib/appsignal/event_formatter/moped/query_formatter.rb' - 'lib/appsignal/hooks.rb' - 'lib/appsignal/marker.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: MaxLineLength. Style/IfUnlessModifier: Exclude: - 'lib/appsignal.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: IncludeSemanticChanges. Style/NonNilCheck: Exclude: - 'lib/appsignal/transaction.rb' Security/YAMLLoad: Enabled: false