79 lines
4.4 KiB
YAML
79 lines
4.4 KiB
YAML
---
|
|
# Cop supports --auto-correct.
|
|
Style/NumericLiteralPrefix:
|
|
# Offense count: 148
|
|
# Temporarily disabled due to too many offenses
|
|
Enabled: false
|
|
Exclude:
|
|
- 'app/models/container_repository.rb'
|
|
- 'app/services/packages/debian/generate_distribution_key_service.rb'
|
|
- 'config/initializers/01_secret_token.rb'
|
|
- 'config/initializers/1_settings.rb'
|
|
- 'db/post_migrate/20220131000001_schedule_trace_expiry_removal.rb'
|
|
- 'ee/lib/gitlab/geo/replication/base_transfer.rb'
|
|
- 'ee/lib/gitlab/geo/replication/blob_downloader.rb'
|
|
- 'ee/spec/lib/bulk_imports/groups/pipelines/iterations_pipeline_spec.rb'
|
|
- 'ee/spec/lib/gitlab/background_migration/remove_all_trace_expiration_dates_spec.rb'
|
|
- 'ee/spec/lib/gitlab/geo/replication/blob_downloader_spec.rb'
|
|
- 'ee/spec/lib/gitlab/geo/replication/file_transfer_spec.rb'
|
|
- 'ee/spec/lib/gitlab/geo/replication/job_artifact_transfer_spec.rb'
|
|
- 'ee/spec/migrations/schedule_trace_expiry_removal_spec.rb'
|
|
- 'ee/spec/models/analytics/devops_adoption/snapshot_spec.rb'
|
|
- 'ee/spec/models/ci/minutes/quota_spec.rb'
|
|
- 'ee/spec/models/ee/group_spec.rb'
|
|
- 'ee/spec/models/gitlab/seat_link_data_spec.rb'
|
|
- 'ee/spec/services/incident_management/oncall_schedules/update_service_spec.rb'
|
|
- 'ee/spec/workers/sync_seat_link_worker_spec.rb'
|
|
- 'lib/backup/database.rb'
|
|
- 'lib/backup/files.rb'
|
|
- 'lib/gitlab/background_migration/remove_all_trace_expiration_dates.rb'
|
|
- 'lib/gitlab/import_export/command_line_util.rb'
|
|
- 'lib/gitlab/jwt_authenticatable.rb'
|
|
- 'lib/system_check/app/uploads_path_permission_check.rb'
|
|
- 'lib/system_check/app/uploads_path_tmp_permission_check.rb'
|
|
- 'lib/tasks/tanuki_emoji.rake'
|
|
- 'metrics_server/metrics_server.rb'
|
|
- 'qa/qa/support/ssh.rb'
|
|
- 'qa/spec/support/ssh_spec.rb'
|
|
- 'scripts/security-harness'
|
|
- 'spec/lib/gitlab/background_migration/remove_all_trace_expiration_dates_spec.rb'
|
|
- 'spec/lib/gitlab/database/background_migration/batched_job_spec.rb'
|
|
- 'spec/lib/gitlab/database/partitioning_migration_helpers/table_management_helpers_spec.rb'
|
|
- 'spec/lib/gitlab/encoding_helper_spec.rb'
|
|
- 'spec/lib/gitlab/git/diff_spec.rb'
|
|
- 'spec/lib/gitlab/git/repository_spec.rb'
|
|
- 'spec/lib/gitlab/git/tree_spec.rb'
|
|
- 'spec/lib/gitlab/gitaly_client/blobs_stitcher_spec.rb'
|
|
- 'spec/lib/gitlab/gitaly_client/conflict_files_stitcher_spec.rb'
|
|
- 'spec/lib/gitlab/gitaly_client/diff_spec.rb'
|
|
- 'spec/lib/gitlab/gitaly_client/diff_stitcher_spec.rb'
|
|
- 'spec/lib/gitlab/github_import/importer/diff_note_importer_spec.rb'
|
|
- 'spec/lib/gitlab/github_import/importer/issue_importer_spec.rb'
|
|
- 'spec/lib/gitlab/github_import/importer/issues_importer_spec.rb'
|
|
- 'spec/lib/gitlab/github_import/importer/milestones_importer_spec.rb'
|
|
- 'spec/lib/gitlab/github_import/importer/note_importer_spec.rb'
|
|
- 'spec/lib/gitlab/github_import/importer/pull_request_importer_spec.rb'
|
|
- 'spec/lib/gitlab/github_import/importer/pull_request_merged_by_importer_spec.rb'
|
|
- 'spec/lib/gitlab/github_import/importer/pull_request_review_importer_spec.rb'
|
|
- 'spec/lib/gitlab/github_import/importer/releases_importer_spec.rb'
|
|
- 'spec/lib/gitlab/github_import/representation/diff_note_spec.rb'
|
|
- 'spec/lib/gitlab/github_import/representation/issue_spec.rb'
|
|
- 'spec/lib/gitlab/github_import/representation/note_spec.rb'
|
|
- 'spec/lib/gitlab/github_import/representation/pull_request_review_spec.rb'
|
|
- 'spec/lib/gitlab/github_import/representation/pull_request_spec.rb'
|
|
- 'spec/lib/gitlab/grape_logging/loggers/cloudflare_logger_spec.rb'
|
|
- 'spec/lib/gitlab/grape_logging/loggers/queue_duration_logger_spec.rb'
|
|
- 'spec/lib/gitlab/import_export/command_line_util_spec.rb'
|
|
- 'spec/lib/gitlab/import_export/file_importer_spec.rb'
|
|
- 'spec/lib/gitlab/jwt_authenticatable_spec.rb'
|
|
- 'spec/lib/gitlab/puma_logging/json_formatter_spec.rb'
|
|
- 'spec/lib/gitlab/relative_positioning/range_spec.rb'
|
|
- 'spec/metrics_server/metrics_server_spec.rb'
|
|
- 'spec/models/issue_spec.rb'
|
|
- 'spec/models/repository_spec.rb'
|
|
- 'spec/support/helpers/repo_helpers.rb'
|
|
- 'spec/support/helpers/test_env.rb'
|
|
- 'spec/support/import_export/export_file_helper.rb'
|
|
- 'spec/support/shared_examples/requests/api/nuget_packages_shared_examples.rb'
|
|
- 'spec/support/shared_examples/services/packages/debian/generate_distribution_shared_examples.rb'
|
|
- 'spec/tasks/gitlab/backup_rake_spec.rb'
|