# This configuration was generated by # `rubocop --auto-gen-config` # on 2021-09-18 22:35:29 UTC using RuboCop version 1.21.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 # Configuration parameters: Include. # Include: **/*.gemspec Gemspec/RequiredRubyVersion: Exclude: - 'motion-sparkle-sandbox.gemspec' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleAlignWith, Severity. # SupportedStylesAlignWith: keyword, variable, start_of_line Layout/EndAlignment: Exclude: - 'spec/sparkle_spec.rb' # Offense count: 1 Lint/NonLocalExitFromIterator: Exclude: - 'lib/motion/project/sparkle.rb' # Offense count: 2 Lint/UselessAssignment: Exclude: - 'lib/motion/project/rake_tasks.rb' # Offense count: 6 # Configuration parameters: IgnoredMethods, CountRepeatedAttributes. Metrics/AbcSize: Max: 80 # Offense count: 2 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. # IgnoredMethods: refine Metrics/BlockLength: Max: 64 # Offense count: 1 # Configuration parameters: CountComments, CountAsOne. Metrics/ClassLength: Max: 150 # Offense count: 1 # Configuration parameters: IgnoredMethods. Metrics/CyclomaticComplexity: Max: 8 # Offense count: 10 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. Metrics/MethodLength: Max: 30 # Offense count: 1 # Configuration parameters: IgnoredMethods. Metrics/PerceivedComplexity: Max: 10 # Offense count: 1 # Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, 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/motion-sparkle-sandbox.rb' # Offense count: 6 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: always, conditionals Style/AndOr: Exclude: - 'lib/motion/project/setup.rb' - 'lib/motion/project/templates.rb' # Offense count: 7 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: nested, compact Style/ClassAndModuleChildren: Exclude: - 'lib/motion/project/appcast.rb' - 'lib/motion/project/install.rb' - 'lib/motion/project/package.rb' - 'lib/motion/project/project.rb' - 'lib/motion/project/setup.rb' - 'lib/motion/project/sparkle.rb' - 'lib/motion/project/templates.rb' # Offense count: 10 # Configuration parameters: AllowedConstants. Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - 'lib/motion/project/appcast.rb' - 'lib/motion/project/install.rb' - 'lib/motion/project/package.rb' - 'lib/motion/project/project.rb' - 'lib/motion/project/setup.rb' - 'lib/motion/project/sparkle.rb' - 'lib/motion/project/templates.rb' # Offense count: 12 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: always, always_true, never Style/FrozenStringLiteralComment: Exclude: - 'Rakefile' - 'lib/motion-sparkle-sandbox.rb' - 'lib/motion/project/appcast.rb' - 'lib/motion/project/install.rb' - 'lib/motion/project/package.rb' - 'lib/motion/project/project.rb' - 'lib/motion/project/rake_tasks.rb' - 'lib/motion/project/setup.rb' - 'lib/motion/project/sparkle.rb' - 'lib/motion/project/templates.rb' - 'spec/sparkle_spec.rb' - 'spec/spec_helper.rb' # Offense count: 4 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'lib/motion/project/setup.rb' # Offense count: 4 # Cop supports --auto-correct. Style/IfUnlessModifier: Exclude: - 'lib/motion/project/package.rb' - 'lib/motion/project/setup.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: literals, strict Style/MutableConstant: Exclude: - 'lib/motion/project/install.rb' - 'lib/motion/project/sparkle.rb' - 'lib/motion/project/templates.rb' # Offense count: 2 # Configuration parameters: AllowedMethods. # AllowedMethods: respond_to_missing? Style/OptionalBooleanParameter: Exclude: - 'lib/motion/project/setup.rb' - 'lib/motion/project/templates.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: RequireEnglish. # SupportedStyles: use_perl_names, use_english_names Style/SpecialGlobalVars: EnforcedStyle: use_perl_names # Offense count: 17 # Cop supports --auto-correct. # Configuration parameters: Mode. Style/StringConcatenation: Exclude: - 'lib/motion/project/appcast.rb' - 'lib/motion/project/install.rb' - 'lib/motion/project/sparkle.rb' - 'lib/motion/project/templates.rb' - 'spec/sparkle_spec.rb' - 'spec/spec_helper.rb' # Offense count: 8 # Cop supports --auto-correct. # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Layout/LineLength: Max: 192