Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-02-23 01:34:45 +0300
committerDouwe Maan <douwe@selenight.nl>2017-02-23 18:32:42 +0300
commit0a5b670a9392f7f8c02e83f1c2e3ed4d2d67cfde (patch)
treeee9c8d00cbaf8920eb274abe688d4e44a4591c4e /.rubocop.yml
parent32a7041030dcb95d9476b3cbcc5d3c036aae81f3 (diff)
Exclude migrations from Style/MutableConstant
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 2a8c30eff3f..1850c31e344 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -354,6 +354,9 @@ Style/MultilineTernaryOperator:
# mutable literal (e.g. array or hash).
Style/MutableConstant:
Enabled: true
+ Exclude:
+ - 'db/migrate/**/*'
+ - 'db/post_migrate/**/*'
# Favor unless over if for negative conditions (or control flow or).
Style/NegatedIf: