]> source.dussan.org Git - redmine.git/commitdiff
rubocop: generate .rubocop_todo.yml for Style/AccessModifierDeclarations
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 21 Nov 2019 05:38:34 +0000 (05:38 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 21 Nov 2019 05:38:34 +0000 (05:38 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19120 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml

index c06a2591ba3a87562a9c873df0783a61b257bdca..c09742650569fd7f3b734cabb22a14eca14effd2 100644 (file)
@@ -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.