summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.rubocop.yml3
-rw-r--r--.rubocop_todo.yml10
2 files changed, 10 insertions, 3 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 07d9f511b..ce7a3cf48 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -41,9 +41,6 @@ Layout/TrailingWhitespace:
Lint/HandleExceptions:
AllowComments: true
-Lint/IneffectiveAccessModifier:
- Enabled: false
-
Metrics:
Enabled: false
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index a782c472c..6e3fe213b 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -388,6 +388,16 @@ Lint/HandleExceptions:
- 'lib/redmine/scm/adapters/cvs_adapter.rb'
- 'lib/redmine/scm/adapters/subversion_adapter.rb'
+Lint/IneffectiveAccessModifier:
+ Exclude:
+ - 'app/models/attachment.rb'
+ - 'app/models/issue.rb'
+ - 'app/models/mail_handler.rb'
+ - 'app/models/mailer.rb'
+ - 'app/models/user.rb'
+ - 'lib/redmine/helpers/gantt.rb'
+ - 'lib/redmine/scm/adapters/abstract_adapter.rb'
+
Lint/InterpolationCheck:
Exclude:
- 'app/models/user.rb'