summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-02 18:54:27 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-02 18:54:27 -0800
commit76027e5efd739f9699f92c8e8cc0199ab17d7c47 (patch)
tree9aaffba4af44c987230f8ff38ff15ce832c83ee8 /.rubocop.yml
parente60fd1f644918948df36c5e65c563d9a11c73c37 (diff)
downloadgitlab-ce-76027e5efd739f9699f92c8e8cc0199ab17d7c47.tar.gz
Add rubocop and remove rails_best_practices gem
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
new file mode 100644
index 00000000000..4579fbcd2e4
--- /dev/null
+++ b/.rubocop.yml
@@ -0,0 +1,26 @@
+StringLiterals:
+ Enabled: false
+LineLength:
+ Enabled: false
+Documentation:
+ Enabled: false
+UnusedMethodArgument:
+ Enabled: false
+UnusedBlockArgument:
+ Enabled: false
+TrailingWhitespace:
+ Enabled: false
+MethodLength:
+ Enabled: false
+ClassLength:
+ Enabled: false
+AllCops:
+ Exclude:
+ - 'spec/**/*'
+ - 'features/**/*'
+ - 'vendor/**/*'
+ - 'db/**/*'
+ - 'tmp/**/*'
+ - 'bin/**/*'
+ - 'lib/backup/**/*'
+ - 'lib/tasks/**/*'