# 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'