summaryrefslogtreecommitdiff
path: root/.rubocop_todo.yml
diff options
context:
space:
mode:
authorZ.J. van de Weg <zegerjan@gitlab.com>2016-06-29 18:00:22 +0200
committerConnor Shea <connor.james.shea@gmail.com>2016-07-13 12:12:47 -0600
commitae6edf18fcf207a63a7130ec8d49966acd83de67 (patch)
tree2ae78f51d17b6396ffca861301ad5446c192e803 /.rubocop_todo.yml
parent9b0ef1559f78e58b398e428763ff97dfdc53e186 (diff)
downloadgitlab-ce-ae6edf18fcf207a63a7130ec8d49966acd83de67.tar.gz
Update rubocop to 0.41.2
https://github.com/bbatsov/rubocop/blob/v0.41.2/CHANGELOG.md
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r--.rubocop_todo.yml65
1 files changed, 65 insertions, 0 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
new file mode 100644
index 00000000000..9a791d74c15
--- /dev/null
+++ b/.rubocop_todo.yml
@@ -0,0 +1,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'