diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-22 13:44:55 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-22 13:44:55 +0000 |
commit | 8453d9bf578cc13c0e3174b1fc94d10276403344 (patch) | |
tree | 6778973bb077512400c0025f502a6bb2a9fa2785 /.rubocop.yml | |
parent | 3a324b1f9f5237e69f45638882b25b1617bb8e57 (diff) | |
download | redmine-8453d9bf578cc13c0e3174b1fc94d10276403344.tar.gz redmine-8453d9bf578cc13c0e3174b1fc94d10276403344.zip |
add Style/BlockDelimiters excluding files to .rubocop.yml (#34165)
git-svn-id: http://svn.redmine.org/redmine/trunk@20489 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 529ff058f..aa9a7455a 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -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 |