diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-22 13:44:47 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-22 13:44:47 +0000 |
commit | 3a324b1f9f5237e69f45638882b25b1617bb8e57 (patch) | |
tree | e4525003992fb9645af113ce3e45a59d22466132 /.rubocop.yml | |
parent | 139cd818d8354285ba1613110f70e639da0a9903 (diff) | |
download | redmine-3a324b1f9f5237e69f45638882b25b1617bb8e57.tar.gz redmine-3a324b1f9f5237e69f45638882b25b1617bb8e57.zip |
add Layout/SpaceInsideBlockBraces excluding files to .rubocop.yml (#34165)
git-svn-id: http://svn.redmine.org/redmine/trunk@20488 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index c131c0cd5..529ff058f 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -60,8 +60,18 @@ Layout/SpaceBeforeBlockBraces: Enabled: false Layout/SpaceInsideBlockBraces: + Enabled: true EnforcedStyle: no_space SpaceBeforeBlockParameters: false + Exclude: + - 'config/initializers/10-patches.rb' + - 'config/initializers/backtrace_silencers.rb' + - 'db/migrate/007_create_journals.rb' + - 'db/migrate/096_add_commit_access_permission.rb' + - 'db/migrate/20170418090031_add_view_news_to_all_existing_roles.rb' + - 'db/migrate/20170419144536_add_view_messages_to_all_existing_roles.rb' + - 'lib/diff.rb' + - 'lib/redmine/wiki_formatting/textile/redcloth3.rb' Layout/SpaceInsideHashLiteralBraces: EnforcedStyle: no_space |