mirror of
https://github.com/mastodon/mastodon.git
synced 2025-02-06 06:55:04 +00:00
c20824fa76
Some checks are pending
Bundler Audit / security (push) Waiting to run
Check i18n / check-i18n (push) Waiting to run
CodeQL / Analyze (javascript) (push) Waiting to run
CodeQL / Analyze (ruby) (push) Waiting to run
Check formatting / lint (push) Waiting to run
Haml Linting / lint (push) Waiting to run
Ruby Linting / lint (push) Waiting to run
Historical data migration test / test (14-alpine) (push) Waiting to run
Historical data migration test / test (15-alpine) (push) Waiting to run
Historical data migration test / test (16-alpine) (push) Waiting to run
Historical data migration test / test (17-alpine) (push) Waiting to run
Ruby Testing / build (production) (push) Waiting to run
Ruby Testing / build (test) (push) Waiting to run
Ruby Testing / test (.ruby-version) (push) Blocked by required conditions
Ruby Testing / test (3.2) (push) Blocked by required conditions
Ruby Testing / test (3.3) (push) Blocked by required conditions
Ruby Testing / Libvips tests (.ruby-version) (push) Blocked by required conditions
Ruby Testing / Libvips tests (3.2) (push) Blocked by required conditions
Ruby Testing / Libvips tests (3.3) (push) Blocked by required conditions
Ruby Testing / End to End testing (.ruby-version) (push) Blocked by required conditions
Ruby Testing / End to End testing (3.2) (push) Blocked by required conditions
Ruby Testing / End to End testing (3.3) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (.ruby-version, docker.elastic.co/elasticsearch/elasticsearch:7.17.13) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (.ruby-version, docker.elastic.co/elasticsearch/elasticsearch:8.10.2) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (.ruby-version, opensearchproject/opensearch:2) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (3.2, docker.elastic.co/elasticsearch/elasticsearch:7.17.13) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (3.3, docker.elastic.co/elasticsearch/elasticsearch:7.17.13) (push) Blocked by required conditions
106 lines
3.4 KiB
YAML
106 lines
3.4 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.70.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.
|
|
|
|
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, 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'
|
|
|
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
Style/MapToHash:
|
|
Exclude:
|
|
- 'app/models/status.rb'
|
|
|
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: literals, strict
|
|
Style/MutableConstant:
|
|
Exclude:
|
|
- 'app/models/tag.rb'
|
|
- 'app/services/delete_account_service.rb'
|
|
- 'lib/mastodon/migration_warning.rb'
|
|
|
|
# Configuration parameters: AllowedMethods.
|
|
# AllowedMethods: respond_to_missing?
|
|
Style/OptionalBooleanParameter:
|
|
Exclude:
|
|
- 'app/helpers/json_ld_helper.rb'
|
|
- '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'
|