1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

add Style/BlockDelimiters excluding files to .rubocop.yml (#34165)

git-svn-id: http://svn.redmine.org/redmine/trunk@20489 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2020-11-22 13:44:55 +00:00
parent 3a324b1f9f
commit 8453d9bf57

View File

@ -114,6 +114,12 @@ Style/AsciiComments:
# We can not change nor remove it.
- 'app/models/repository/git.rb'
Style/BlockDelimiters:
Enabled: true
Exclude:
- 'db/migrate/007_create_journals.rb'
- 'lib/diff.rb'
Style/EmptyElse:
EnforcedStyle: empty