.rubocop_todo.yml 2.04 KB
Newer Older
Z.J. van de Weg's avatar
Z.J. van de Weg committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2016-06-29 18:24:55 +0200 using RuboCop version 0.41.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.

# Offense count: 1
Lint/ShadowedException:
  Exclude:
    - 'app/models/u2f_registration.rb'

# Offense count: 12
# Cop supports --auto-correct.
Performance/PushSplat:
  Exclude:
    - 'app/controllers/projects/refs_controller.rb'
    - 'app/helpers/page_layout_helper.rb'
    - 'app/models/ability.rb'
    - 'app/models/network/graph.rb'
    - 'app/models/project_team.rb'
    - 'app/models/user.rb'
    - 'config/application.rb'

# Offense count: 59
Rails/OutputSafety:
  Enabled: false

# Offense count: 6
# Cop supports --auto-correct.
# Configuration parameters: EnforcedOctalStyle, SupportedOctalStyles.
# SupportedOctalStyles: zero_with_o, zero_only
Style/NumericLiteralPrefix:
  Exclude:
    - 'config/initializers/1_settings.rb'
    - 'config/initializers/secret_token.rb'
    - 'lib/gitlab/backend/shell.rb'
    - 'spec/support/test_env.rb'
    - 'spec/tasks/gitlab/backup_rake_spec.rb'

# Offense count: 28
# Cop supports --auto-correct.
Style/PreferredHashMethods:
  Exclude:
    - 'app/helpers/dropdowns_helper.rb'
    - 'app/models/application_setting.rb'
    - 'app/models/members/project_member.rb'
    - 'app/services/git_push_service.rb'
    - 'lib/api/helpers.rb'
    - 'lib/ci/api/builds.rb'
    - 'lib/ci/gitlab_ci_yaml_processor.rb'
    - 'lib/gitlab/ci/config/node/configurable.rb'
    - 'lib/gitlab/ci/config/node/factory.rb'
    - 'lib/gitlab/google_code_import/client.rb'
    - 'lib/gitlab/google_code_import/importer.rb'
    - 'lib/gitlab/visibility_level.rb'
    - 'spec/requests/api/projects_spec.rb'

# Offense count: 5
# Cop supports --auto-correct.
Style/SpaceInsidePercentLiteralDelimiters:
  Exclude:
    - 'lib/event_filter.rb'
    - 'lib/gitlab/git_access.rb'