|
| 1 | +# This configuration was generated by |
| 2 | +# `rubocop --auto-gen-config` |
| 3 | +# on 2021-09-18 22:35:29 UTC using RuboCop version 1.21.0. |
| 4 | +# The point is for the user to remove these configuration records |
| 5 | +# one by one as the offenses are removed from the code base. |
| 6 | +# Note that changes in the inspected code, or installation of new |
| 7 | +# versions of RuboCop, may require this file to be generated again. |
| 8 | + |
| 9 | +# Offense count: 1 |
| 10 | +# Configuration parameters: Include. |
| 11 | +# Include: **/*.gemspec |
| 12 | +Gemspec/RequiredRubyVersion: |
| 13 | + Exclude: |
| 14 | + - 'motion-sparkle-sandbox.gemspec' |
| 15 | + |
| 16 | +# Offense count: 1 |
| 17 | +# Cop supports --auto-correct. |
| 18 | +# Configuration parameters: EnforcedStyleAlignWith, Severity. |
| 19 | +# SupportedStylesAlignWith: keyword, variable, start_of_line |
| 20 | +Layout/EndAlignment: |
| 21 | + Exclude: |
| 22 | + - 'spec/sparkle_spec.rb' |
| 23 | + |
| 24 | +# Offense count: 1 |
| 25 | +Lint/NonLocalExitFromIterator: |
| 26 | + Exclude: |
| 27 | + - 'lib/motion/project/sparkle.rb' |
| 28 | + |
| 29 | +# Offense count: 2 |
| 30 | +Lint/UselessAssignment: |
| 31 | + Exclude: |
| 32 | + - 'lib/motion/project/rake_tasks.rb' |
| 33 | + |
| 34 | +# Offense count: 6 |
| 35 | +# Configuration parameters: IgnoredMethods, CountRepeatedAttributes. |
| 36 | +Metrics/AbcSize: |
| 37 | + Max: 80 |
| 38 | + |
| 39 | +# Offense count: 2 |
| 40 | +# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. |
| 41 | +# IgnoredMethods: refine |
| 42 | +Metrics/BlockLength: |
| 43 | + Max: 64 |
| 44 | + |
| 45 | +# Offense count: 1 |
| 46 | +# Configuration parameters: CountComments, CountAsOne. |
| 47 | +Metrics/ClassLength: |
| 48 | + Max: 150 |
| 49 | + |
| 50 | +# Offense count: 1 |
| 51 | +# Configuration parameters: IgnoredMethods. |
| 52 | +Metrics/CyclomaticComplexity: |
| 53 | + Max: 8 |
| 54 | + |
| 55 | +# Offense count: 10 |
| 56 | +# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. |
| 57 | +Metrics/MethodLength: |
| 58 | + Max: 30 |
| 59 | + |
| 60 | +# Offense count: 1 |
| 61 | +# Configuration parameters: IgnoredMethods. |
| 62 | +Metrics/PerceivedComplexity: |
| 63 | + Max: 10 |
| 64 | + |
| 65 | +# Offense count: 1 |
| 66 | +# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, Regex, IgnoreExecutableScripts, AllowedAcronyms. |
| 67 | +# 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 |
| 68 | +Naming/FileName: |
| 69 | + Exclude: |
| 70 | + - 'lib/motion-sparkle-sandbox.rb' |
| 71 | + |
| 72 | +# Offense count: 6 |
| 73 | +# Cop supports --auto-correct. |
| 74 | +# Configuration parameters: EnforcedStyle. |
| 75 | +# SupportedStyles: always, conditionals |
| 76 | +Style/AndOr: |
| 77 | + Exclude: |
| 78 | + - 'lib/motion/project/setup.rb' |
| 79 | + - 'lib/motion/project/templates.rb' |
| 80 | + |
| 81 | +# Offense count: 7 |
| 82 | +# Cop supports --auto-correct. |
| 83 | +# Configuration parameters: EnforcedStyle. |
| 84 | +# SupportedStyles: nested, compact |
| 85 | +Style/ClassAndModuleChildren: |
| 86 | + Exclude: |
| 87 | + - 'lib/motion/project/appcast.rb' |
| 88 | + - 'lib/motion/project/install.rb' |
| 89 | + - 'lib/motion/project/package.rb' |
| 90 | + - 'lib/motion/project/project.rb' |
| 91 | + - 'lib/motion/project/setup.rb' |
| 92 | + - 'lib/motion/project/sparkle.rb' |
| 93 | + - 'lib/motion/project/templates.rb' |
| 94 | + |
| 95 | +# Offense count: 10 |
| 96 | +# Configuration parameters: AllowedConstants. |
| 97 | +Style/Documentation: |
| 98 | + Exclude: |
| 99 | + - 'spec/**/*' |
| 100 | + - 'test/**/*' |
| 101 | + - 'lib/motion/project/appcast.rb' |
| 102 | + - 'lib/motion/project/install.rb' |
| 103 | + - 'lib/motion/project/package.rb' |
| 104 | + - 'lib/motion/project/project.rb' |
| 105 | + - 'lib/motion/project/setup.rb' |
| 106 | + - 'lib/motion/project/sparkle.rb' |
| 107 | + - 'lib/motion/project/templates.rb' |
| 108 | + |
| 109 | +# Offense count: 12 |
| 110 | +# Cop supports --auto-correct. |
| 111 | +# Configuration parameters: EnforcedStyle. |
| 112 | +# SupportedStyles: always, always_true, never |
| 113 | +Style/FrozenStringLiteralComment: |
| 114 | + Exclude: |
| 115 | + - 'Rakefile' |
| 116 | + - 'lib/motion-sparkle-sandbox.rb' |
| 117 | + - 'lib/motion/project/appcast.rb' |
| 118 | + - 'lib/motion/project/install.rb' |
| 119 | + - 'lib/motion/project/package.rb' |
| 120 | + - 'lib/motion/project/project.rb' |
| 121 | + - 'lib/motion/project/rake_tasks.rb' |
| 122 | + - 'lib/motion/project/setup.rb' |
| 123 | + - 'lib/motion/project/sparkle.rb' |
| 124 | + - 'lib/motion/project/templates.rb' |
| 125 | + - 'spec/sparkle_spec.rb' |
| 126 | + - 'spec/spec_helper.rb' |
| 127 | + |
| 128 | +# Offense count: 4 |
| 129 | +# Configuration parameters: MinBodyLength. |
| 130 | +Style/GuardClause: |
| 131 | + Exclude: |
| 132 | + - 'lib/motion/project/setup.rb' |
| 133 | + |
| 134 | +# Offense count: 4 |
| 135 | +# Cop supports --auto-correct. |
| 136 | +Style/IfUnlessModifier: |
| 137 | + Exclude: |
| 138 | + - 'lib/motion/project/package.rb' |
| 139 | + - 'lib/motion/project/setup.rb' |
| 140 | + |
| 141 | +# Offense count: 5 |
| 142 | +# Cop supports --auto-correct. |
| 143 | +# Configuration parameters: EnforcedStyle. |
| 144 | +# SupportedStyles: literals, strict |
| 145 | +Style/MutableConstant: |
| 146 | + Exclude: |
| 147 | + - 'lib/motion/project/install.rb' |
| 148 | + - 'lib/motion/project/sparkle.rb' |
| 149 | + - 'lib/motion/project/templates.rb' |
| 150 | + |
| 151 | +# Offense count: 2 |
| 152 | +# Configuration parameters: AllowedMethods. |
| 153 | +# AllowedMethods: respond_to_missing? |
| 154 | +Style/OptionalBooleanParameter: |
| 155 | + Exclude: |
| 156 | + - 'lib/motion/project/setup.rb' |
| 157 | + - 'lib/motion/project/templates.rb' |
| 158 | + |
| 159 | +# Offense count: 2 |
| 160 | +# Cop supports --auto-correct. |
| 161 | +# Configuration parameters: RequireEnglish. |
| 162 | +# SupportedStyles: use_perl_names, use_english_names |
| 163 | +Style/SpecialGlobalVars: |
| 164 | + EnforcedStyle: use_perl_names |
| 165 | + |
| 166 | +# Offense count: 17 |
| 167 | +# Cop supports --auto-correct. |
| 168 | +# Configuration parameters: Mode. |
| 169 | +Style/StringConcatenation: |
| 170 | + Exclude: |
| 171 | + - 'lib/motion/project/appcast.rb' |
| 172 | + - 'lib/motion/project/install.rb' |
| 173 | + - 'lib/motion/project/sparkle.rb' |
| 174 | + - 'lib/motion/project/templates.rb' |
| 175 | + - 'spec/sparkle_spec.rb' |
| 176 | + - 'spec/spec_helper.rb' |
| 177 | + |
| 178 | +# Offense count: 8 |
| 179 | +# Cop supports --auto-correct. |
| 180 | +# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. |
| 181 | +# URISchemes: http, https |
| 182 | +Layout/LineLength: |
| 183 | + Max: 192 |
0 commit comments