summaryrefslogtreecommitdiffstats
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-04-16 11:51:01 +0000
committerGo MAEDA <maeda@farend.jp>2023-04-16 11:51:01 +0000
commit87dc1d90587e59dcc9256ba62565099616651164 (patch)
tree177b836d4d59ee8ea62991d21d71502dae71eab8 /.rubocop.yml
parent0b59699ef676abdfe217c03c11c0c16c7e587083 (diff)
downloadredmine-87dc1d90587e59dcc9256ba62565099616651164.tar.gz
redmine-87dc1d90587e59dcc9256ba62565099616651164.zip
Update RuboCop Rails to 2.19 (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@22200 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml15
1 files changed, 11 insertions, 4 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 398fac707..89564b5a1 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -157,6 +157,17 @@ Rails/RootPathnameMethods:
Rails/SquishedSQLHeredocs:
Enabled: false
+Rails/ThreeStateBooleanColumn:
+ Exclude:
+ - 'db/migrate/009_add_hide_mail_pref.rb'
+ - 'db/migrate/059_add_roles_assignable.rb'
+ - 'db/migrate/082_add_messages_locked.rb'
+ - 'db/migrate/086_add_custom_fields_searchable.rb'
+ - 'db/migrate/102_add_custom_fields_editable.rb'
+ - 'db/migrate/20120115143100_add_repositories_is_default.rb'
+ - 'db/migrate/20120127174243_add_custom_fields_multiple.rb'
+ - 'db/migrate/20210704125704_add_twofa_required_to_groups.rb'
+
Rails/WhereExists:
Enabled: false
@@ -209,10 +220,6 @@ Style/IdenticalConditionalBranches:
- 'config/initializers/10-patches.rb'
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
-Style/InverseMethods:
- InverseMethods:
- :include?: ~
-
Style/NegatedIfElseCondition:
Enabled: false