From: Toshi MARUYAMA Date: Thu, 21 Nov 2019 05:38:34 +0000 (+0000) Subject: rubocop: generate .rubocop_todo.yml for Style/AccessModifierDeclarations X-Git-Tag: 4.2.0~1519 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2ddbc7ff4d9dce7d7e23deefedeb2fbd9e6ca5d9;p=redmine.git rubocop: generate .rubocop_todo.yml for Style/AccessModifierDeclarations git-svn-id: http://svn.redmine.org/redmine/trunk@19120 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index c06a2591b..c09742650 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -878,7 +878,27 @@ Security/YAMLLoad: # Configuration parameters: EnforcedStyle. # SupportedStyles: inline, group Style/AccessModifierDeclarations: - Enabled: false + Exclude: + - 'app/controllers/application_controller.rb' + - 'app/controllers/repositories_controller.rb' + - 'app/models/group_builtin.rb' + - 'app/models/issue.rb' + - 'app/models/query.rb' + - 'app/models/repository.rb' + - 'app/models/repository/bazaar.rb' + - 'app/models/repository/cvs.rb' + - 'app/models/repository/git.rb' + - 'app/models/repository/mercurial.rb' + - 'app/models/user.rb' + - 'app/models/user_preference.rb' + - 'app/models/wiki_page.rb' + - 'lib/redmine/field_format.rb' + - 'lib/redmine/plugin.rb' + - 'lib/redmine/scm/adapters/bazaar_adapter.rb' + - 'lib/redmine/scm/adapters/cvs_adapter.rb' + - 'lib/redmine/scm/adapters/mercurial_adapter.rb' + - 'test/functional/issues_controller_test.rb' + - 'test/unit/lib/redmine/helpers/gantt_test.rb' # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle.