mirror of
https://github.com/redmine/redmine.git
synced 2026-01-20 06:22:56 +01:00
Disable RuboCop Style/SoleNestedConditional (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21855 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -213,6 +213,9 @@ Style/Semicolon:
|
||||
Style/SlicingWithRange:
|
||||
Enabled: false
|
||||
|
||||
Style/SoleNestedConditional:
|
||||
Enabled: false
|
||||
|
||||
Style/TernaryParentheses:
|
||||
Enabled: false
|
||||
|
||||
|
||||
@@ -1700,30 +1700,6 @@ Style/SelfAssignment:
|
||||
Style/SingleLineMethods:
|
||||
Enabled: false
|
||||
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: AllowModifier.
|
||||
Style/SoleNestedConditional:
|
||||
Exclude:
|
||||
- 'app/controllers/application_controller.rb'
|
||||
- 'app/controllers/journals_controller.rb'
|
||||
- 'app/controllers/wiki_controller.rb'
|
||||
- 'app/models/board.rb'
|
||||
- 'app/models/changeset.rb'
|
||||
- 'app/models/issue.rb'
|
||||
- 'app/models/issue_import.rb'
|
||||
- 'app/models/issue_relation.rb'
|
||||
- 'app/models/mail_handler.rb'
|
||||
- 'app/models/principal.rb'
|
||||
- 'app/models/project.rb'
|
||||
- 'app/models/query.rb'
|
||||
- 'app/models/time_entry.rb'
|
||||
- 'app/models/user_import.rb'
|
||||
- 'app/models/version.rb'
|
||||
- 'app/models/watcher.rb'
|
||||
- 'app/models/wiki_annotate.rb'
|
||||
- 'app/models/wiki_page.rb'
|
||||
- 'app/validators/date_validator.rb'
|
||||
|
||||
# This cop supports unsafe autocorrection (--autocorrect-all).
|
||||
# Configuration parameters: RequireEnglish.
|
||||
# SupportedStyles: use_perl_names, use_english_names, use_builtin_english_names
|
||||
|
||||
Reference in New Issue
Block a user