diff options
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 3 |
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: |