1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 11:37:14 +00:00

Disable RuboCop Rails/WhereExists (#36919).

git-svn-id: https://svn.redmine.org/redmine/trunk@21916 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2022-10-20 08:39:24 +00:00
parent 2f81cb6b2a
commit a4001d076b
2 changed files with 3 additions and 18 deletions

View File

@ -139,6 +139,9 @@ Rails/HelperInstanceVariable:
Rails/SquishedSQLHeredocs:
Enabled: false
Rails/WhereExists:
Enabled: false
Style/AsciiComments:
Exclude:
# Copyright credit has non ascii character.

View File

@ -948,24 +948,6 @@ Rails/WhereEquals:
- 'lib/redmine/helpers/gantt.rb'
- 'test/functional/issues_controller_test.rb'
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: exists, where
Rails/WhereExists:
Exclude:
- 'app/controllers/issues_controller.rb'
- 'app/models/issue.rb'
- 'app/models/project.rb'
- 'app/models/user.rb'
- 'app/models/watcher.rb'
- 'lib/redmine/default_data/loader.rb'
- 'test/functional/workflows_controller_test.rb'
- 'test/unit/document_category_test.rb'
- 'test/unit/enumeration_test.rb'
- 'test/unit/issue_status_test.rb'
- 'test/unit/project_test.rb'
- 'test/unit/workflow_transition_test.rb'
# This cop supports safe autocorrection (--autocorrect).
Rails/WhereNot:
Exclude: