91 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			91 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
# This configuration was generated by
 | 
						|
# `rubocop --auto-gen-config --auto-gen-only-exclude --no-offense-counts --no-auto-gen-timestamp`
 | 
						|
# using RuboCop version 1.75.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.
 | 
						|
 | 
						|
Lint/NonLocalExitFromIterator:
 | 
						|
  Exclude:
 | 
						|
    - 'app/helpers/json_ld_helper.rb'
 | 
						|
 | 
						|
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
 | 
						|
Metrics/AbcSize:
 | 
						|
  Max: 82
 | 
						|
 | 
						|
# Configuration parameters: CountBlocks, CountModifierForms, Max.
 | 
						|
Metrics/BlockNesting:
 | 
						|
  Exclude:
 | 
						|
    - 'lib/tasks/mastodon.rake'
 | 
						|
 | 
						|
# Configuration parameters: AllowedMethods, AllowedPatterns.
 | 
						|
Metrics/CyclomaticComplexity:
 | 
						|
  Max: 25
 | 
						|
 | 
						|
# Configuration parameters: AllowedMethods, AllowedPatterns.
 | 
						|
Metrics/PerceivedComplexity:
 | 
						|
  Max: 27
 | 
						|
 | 
						|
Rails/OutputSafety:
 | 
						|
  Exclude:
 | 
						|
    - 'config/initializers/simple_form.rb'
 | 
						|
 | 
						|
# This cop supports safe autocorrection (--autocorrect).
 | 
						|
# Configuration parameters: AllowedVars.
 | 
						|
Style/FetchEnvVar:
 | 
						|
  Exclude:
 | 
						|
    - 'config/environments/production.rb'
 | 
						|
    - 'config/initializers/2_limited_federation_mode.rb'
 | 
						|
    - 'config/initializers/3_omniauth.rb'
 | 
						|
    - 'config/initializers/cache_buster.rb'
 | 
						|
    - 'config/initializers/devise.rb'
 | 
						|
    - 'config/initializers/paperclip.rb'
 | 
						|
    - 'config/initializers/vapid.rb'
 | 
						|
    - 'lib/tasks/repo.rake'
 | 
						|
 | 
						|
# This cop supports safe autocorrection (--autocorrect).
 | 
						|
# Configuration parameters: EnforcedStyle, MaxUnannotatedPlaceholdersAllowed, Mode, AllowedMethods, AllowedPatterns.
 | 
						|
# SupportedStyles: annotated, template, unannotated
 | 
						|
# AllowedMethods: redirect
 | 
						|
Style/FormatStringToken:
 | 
						|
  Exclude:
 | 
						|
    - 'config/initializers/devise.rb'
 | 
						|
    - 'lib/paperclip/color_extractor.rb'
 | 
						|
 | 
						|
# This cop supports safe autocorrection (--autocorrect).
 | 
						|
# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
 | 
						|
Style/GuardClause:
 | 
						|
  Enabled: false
 | 
						|
 | 
						|
# This cop supports unsafe autocorrection (--autocorrect-all).
 | 
						|
Style/HashTransformValues:
 | 
						|
  Exclude:
 | 
						|
    - 'app/serializers/rest/web_push_subscription_serializer.rb'
 | 
						|
    - 'app/services/import_service.rb'
 | 
						|
 | 
						|
# Configuration parameters: AllowedMethods.
 | 
						|
# AllowedMethods: respond_to_missing?
 | 
						|
Style/OptionalBooleanParameter:
 | 
						|
  Exclude:
 | 
						|
    - 'app/lib/admin/system_check/message.rb'
 | 
						|
    - 'app/lib/request.rb'
 | 
						|
    - 'app/lib/webfinger.rb'
 | 
						|
    - 'app/services/block_domain_service.rb'
 | 
						|
    - 'app/services/fetch_resource_service.rb'
 | 
						|
    - 'app/workers/domain_block_worker.rb'
 | 
						|
    - 'app/workers/unfollow_follow_worker.rb'
 | 
						|
 | 
						|
# This cop supports unsafe autocorrection (--autocorrect-all).
 | 
						|
# Configuration parameters: EnforcedStyle.
 | 
						|
# SupportedStyles: short, verbose
 | 
						|
Style/PreferredHashMethods:
 | 
						|
  Exclude:
 | 
						|
    - 'config/initializers/paperclip.rb'
 | 
						|
 | 
						|
# This cop supports safe autocorrection (--autocorrect).
 | 
						|
Style/RedundantConstantBase:
 | 
						|
  Exclude:
 | 
						|
    - 'config/environments/production.rb'
 | 
						|
    - 'config/initializers/sidekiq.rb'
 |