# This configuration was generated by # `rubocop --auto-gen-config` # on 2020-01-06 13:56:04 -0300 using RuboCop version 0.79.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: 1 # Cop supports --auto-correct. # Configuration parameters: TreatCommentsAsGroupSeparators, Include. # Include: **/*.gemspec Gemspec/OrderedDependencies: Exclude: - 'twilio-ruby.gemspec' # Offense count: 1 # Configuration parameters: Include. # Include: **/*.gemspec Gemspec/RequiredRubyVersion: Exclude: - 'twilio-ruby.gemspec' # Offense count: 2 # Cop supports --auto-correct. Layout/EmptyLineAfterGuardClause: Exclude: - 'lib/rack/twilio_webhook_authentication.rb' - 'lib/twilio-ruby/framework/serialize.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment. Layout/ExtraSpacing: Exclude: - 'twilio-ruby.gemspec' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator. # SupportedStylesForExponentOperator: space, no_space Layout/SpaceAroundOperators: Exclude: - 'spec/jwt/client_capability_spec.rb' # Offense count: 8 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces. # SupportedStyles: space, no_space, compact # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceInsideHashLiteralBraces: Exclude: - 'spec/jwt/access_token_spec.rb' - 'spec/jwt/client_capability_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: IndentationWidth. Layout/Tab: Exclude: - 'twilio-ruby.gemspec' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments. Lint/UnusedBlockArgument: Exclude: - 'Rakefile' - 'spec/rack/twilio_webhook_authentication_spec.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods. Lint/UnusedMethodArgument: Exclude: - 'lib/twilio-ruby.rb' - 'lib/twilio-ruby/framework/page.rb' - 'spec/holodeck/holodeck.rb' # Offense count: 1 # Configuration parameters: ContextCreatingMethods, MethodCreatingMethods. Lint/UselessAccessModifier: Exclude: - 'lib/twilio-ruby/jwt/access_token.rb' # Offense count: 14 Lint/UselessAssignment: Exclude: - 'spec/rack/twilio_webhook_authentication_spec.rb' # Offense count: 1 # Configuration parameters: CountComments, ExcludedMethods. # ExcludedMethods: refine Metrics/BlockLength: Max: 28 # Offense count: 1 # 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 Naming/FileName: Exclude: - 'lib/twilio-ruby.rb' # Offense count: 2 # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames. # AllowedNames: io, id, to, by, on, in, at, ip, db, os Naming/MethodParameterName: Exclude: - 'lib/twilio-ruby/security/request_validator.rb' # Offense count: 19 # Configuration parameters: EnforcedStyle. # SupportedStyles: snake_case, camelCase Naming/VariableName: Exclude: - 'spec/jwt/client_capability_spec.rb' - 'spec/jwt/task_router_spec.rb' # Offense count: 38 Style/Documentation: Enabled: false # Offense count: 1 # Cop supports --auto-correct. Style/Encoding: Exclude: - 'twilio-ruby.gemspec' # Offense count: 2 # Cop supports --auto-correct. Style/ExpandPathArguments: Exclude: - 'spec/spec_helper.rb' - 'twilio-ruby.gemspec' # Offense count: 23 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: always, never Style/FrozenStringLiteralComment: Enabled: false # Offense count: 3 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'lib/twilio-ruby/framework/page.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys Style/HashSyntax: Exclude: - 'spec/jwt/access_token_spec.rb' # Offense count: 12 # Cop supports --auto-correct. Style/IfUnlessModifier: Exclude: - 'lib/twilio-ruby/framework/page.rb' - 'lib/twilio-ruby/framework/version.rb' - 'lib/twilio-ruby/jwt/access_token.rb' - 'lib/twilio-ruby/jwt/client_capability.rb' - 'lib/twilio-ruby/jwt/jwt.rb' # Offense count: 4 # Cop supports --auto-correct. Style/RedundantFreeze: Exclude: - 'lib/twilio-ruby/jwt/task_router.rb' # Offense count: 2 # Cop supports --auto-correct. Style/RedundantSelf: Exclude: - 'lib/twilio-ruby/framework/serialize.rb' # Offense count: 16 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, AllowInnerSlashes. # SupportedStyles: slashes, percent_r, mixed Style/RegexpLiteral: Exclude: - 'lib/twilio-ruby/framework/domain.rb' - 'lib/twilio-ruby/framework/helper.rb' - 'lib/twilio-ruby/framework/version.rb' - 'spec/rack/twilio_webhook_authentication_spec.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Exclude: - 'spec/framework/serialize_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: MinSize. # SupportedStyles: percent, brackets Style/SymbolArray: EnforcedStyle: brackets # Offense count: 14 # Cop supports --auto-correct. # Configuration parameters: AllowNamedUnderscoreVariables. Style/TrailingUnderscoreVariable: Exclude: - 'spec/jwt/access_token_spec.rb' - 'spec/jwt/client_capability_spec.rb' - 'spec/jwt/task_router_spec.rb' # Offense count: 15 # Cop supports --auto-correct. # Configuration parameters: MinSize, WordRegex. # SupportedStyles: percent, brackets Style/WordArray: EnforcedStyle: brackets