1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

Exclude known RuboCop Lint/UselessConstantScoping offenses to prevent regressions while allowing new checks (#41884).

git-svn-id: https://svn.redmine.org/redmine/trunk@23625 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2025-04-11 08:44:08 +00:00
parent 15d33f6827
commit c77c1d078b
2 changed files with 8 additions and 8 deletions

View File

@ -89,6 +89,14 @@ Lint/MissingSuper:
Lint/SuppressedException:
AllowComments: true
Lint/UselessConstantScoping:
Exclude:
- 'app/controllers/repositories_controller.rb'
- 'app/models/mail_handler.rb'
- 'lib/redmine/acts/mentionable.rb'
- 'lib/redmine/asset_path.rb'
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
Layout/LineContinuationLeadingSpace:
Enabled: false

View File

@ -254,14 +254,6 @@ Lint/UnusedMethodArgument:
Lint/UselessAssignment:
Enabled: false
Lint/UselessConstantScoping:
Exclude:
- 'app/controllers/repositories_controller.rb'
- 'app/models/mail_handler.rb'
- 'lib/redmine/acts/mentionable.rb'
- 'lib/redmine/asset_path.rb'
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AutoCorrect, CheckForMethodsWithNoSideEffects.
Lint/Void: