|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
# This configuration was generated by
|
|
|
|
|
# `rubocop --auto-gen-config --auto-gen-only-exclude --no-exclude-limit --no-offense-counts --no-auto-gen-timestamp`
|
|
|
|
|
# using RuboCop version 1.60.2.
|
|
|
|
|
# using RuboCop version 1.62.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
|
|
|
|
@ -36,7 +36,7 @@ Metrics/PerceivedComplexity:
|
|
|
|
|
|
|
|
|
|
# Configuration parameters: CountAsOne.
|
|
|
|
|
RSpec/ExampleLength:
|
|
|
|
|
Max: 20 # Override default of 5
|
|
|
|
|
Max: 18
|
|
|
|
|
|
|
|
|
|
RSpec/MultipleExpectations:
|
|
|
|
|
Max: 7
|
|
|
|
@ -88,7 +88,6 @@ Style/FetchEnvVar:
|
|
|
|
|
Exclude:
|
|
|
|
|
- 'app/lib/redis_configuration.rb'
|
|
|
|
|
- 'app/lib/translation_service.rb'
|
|
|
|
|
- 'config/environments/development.rb'
|
|
|
|
|
- 'config/environments/production.rb'
|
|
|
|
|
- 'config/initializers/2_limited_federation_mode.rb'
|
|
|
|
|
- 'config/initializers/3_omniauth.rb'
|
|
|
|
@ -144,7 +143,6 @@ Style/GuardClause:
|
|
|
|
|
- 'lib/mastodon/cli/accounts.rb'
|
|
|
|
|
- 'lib/mastodon/cli/maintenance.rb'
|
|
|
|
|
- 'lib/mastodon/cli/media.rb'
|
|
|
|
|
- 'lib/paperclip/attachment_extensions.rb'
|
|
|
|
|
- 'lib/tasks/repo.rake'
|
|
|
|
|
|
|
|
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
|
|
|