17 - 'lib/templates/**/*'
22 Layout/AccessModifierIndentation:
25 Layout/EmptyLineAfterMagicComment:
28 Layout/EmptyLineAfterGuardClause:
31 Layout/EmptyLinesAroundAttributeAccessor:
36 # EnforcedHashRocketStyle: table
37 # EnforcedColonStyle: table
39 Layout/SpaceAroundMethodCallOperator:
42 Layout/SpaceInsideHashLiteralBraces:
45 Lint/DeprecatedOpenSSLConstant:
48 Lint/DuplicateElsifCondition:
51 Lint/MixedRegexpCaptureTypes:
57 Lint/StructNewOverride:
60 Lint/UselessAccessModifier:
61 ContextCreatingMethods:
67 - 'lib/mastodon/*_cli.rb'
73 - 'lib/mastodon/*_cli.rb'
78 - 'lib/mastodon/*_cli.rb'
84 - 'lib/mastodon/*_cli.rb'
86 Metrics/CyclomaticComplexity:
89 - 'lib/mastodon/*_cli.rb'
99 - 'lib/mastodon/*_cli.rb'
101 Metrics/ModuleLength:
105 Metrics/ParameterLists:
107 CountKeywordArgs: true
109 Metrics/PerceivedComplexity:
112 Naming/MemoizedInstanceVariableName:
115 Naming/MethodParameterName:
121 Rails/ApplicationController:
124 - 'app/controllers/well_known/**/*.rb'
143 Rails/HasAndBelongsToMany:
146 Rails/HasManyOrHasOneDependent:
149 Rails/HelperInstanceVariable:
161 Rails/LexicallyScopedActionFilter:
167 Rails/RakeEnvironment:
170 Rails/RedundantForeignKey:
173 Rails/SkipsModelValidations:
176 Rails/UniqueValidationWithoutIndex:
179 Style/AccessorGrouping:
182 Style/AccessModifierDeclarations:
188 Style/BisectedAttrAccessor:
194 Style/ClassAndModuleChildren:
197 Style/CollectionMethods:
205 Style/DoubleNegation:
208 Style/ExpandPathArguments:
211 Style/ExponentialNotation:
217 Style/FormatStringToken:
220 Style/FrozenStringLiteralComment:
226 Style/HashAsLastArrayItem:
229 Style/HashEachMethods:
235 Style/HashTransformKeys:
238 Style/HashTransformValues:
241 Style/IfUnlessModifier:
244 Style/InverseMethods:
250 Style/MutableConstant:
253 Style/PercentLiteralDelimiters:
261 Style/RedundantAssignment:
264 Style/RedundantFetchBlock:
267 Style/RedundantFileExtensionInRequire:
270 Style/RedundantRegexpCharacterClass:
273 Style/RedundantRegexpEscape:
276 Style/RedundantReturn:
282 Style/RescueStandardError:
285 Style/SignalException:
288 Style/SlicingWithRange:
294 Style/TrailingCommaInArrayLiteral:
295 EnforcedStyleForMultiline: 'comma'
297 Style/TrailingCommaInHashLiteral:
298 EnforcedStyleForMultiline: 'comma'