# This configuration was generated by # `rubocop --auto-gen-config` # on 2017-06-16 13:07:42 -0500 using RuboCop version 0.48.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 # Cop supports --auto-correct. # Configuration parameters: Include, TreatCommentsAsGroupSeparators. # Include: **/Gemfile, **/gems.rb Bundler/OrderedGems: Exclude: - 'examples/inventory/Gemfile' - 'examples/market/Gemfile' - 'examples/minimal/Gemfile' - 'examples/weather/Gemfile' # Offense count: 1 Lint/HandleExceptions: Exclude: - 'lib/initializers/giphy.rb' # Offense count: 6 Metrics/AbcSize: Max: 36 # Offense count: 21 # Configuration parameters: CountComments, ExcludedMethods. Metrics/BlockLength: Max: 120 # Offense count: 2 Metrics/CyclomaticComplexity: Max: 13 # Offense count: 199 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Metrics/LineLength: Max: 147 # Offense count: 10 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 27 # Offense count: 2 Metrics/PerceivedComplexity: Max: 13 # Offense count: 30 Style/Documentation: Enabled: false # Offense count: 1 Style/DoubleNegation: Exclude: - 'lib/slack-ruby-bot/commands/base.rb' # Offense count: 2 # Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms. # AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS Style/FileName: Exclude: - 'Dangerfile' - 'lib/slack-ruby-bot.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: auto_detection, squiggly, active_support, powerpack, unindent Style/IndentHeredoc: Exclude: - 'lib/slack-ruby-bot/commands/help.rb' - 'spec/slack-ruby-bot/commands/help_spec.rb' # Offense count: 1 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: module_function, extend_self Style/ModuleFunction: Exclude: - 'lib/slack-ruby-bot/config.rb' # Offense count: 3 # Cop supports --auto-correct. Style/MultilineIfModifier: Exclude: - 'lib/slack-ruby-bot/app.rb' - 'lib/slack-ruby-bot/client.rb' - 'lib/slack-ruby-bot/commands/base.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Exclude: - 'lib/slack-ruby-bot/server.rb' - 'spec/slack-ruby-bot/commands/aliases_spec.rb' - 'spec/slack-ruby-bot/hooks/hook_support_spec.rb' - 'spec/slack-ruby-bot/server_spec.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: SupportedStyles. # SupportedStyles: percent, brackets Style/SymbolArray: EnforcedStyle: brackets # Offense count: 2 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: snake_case, normalcase, non_integer Style/VariableNumber: Exclude: - 'spec/slack-ruby-bot/hooks/set_spec.rb'