diff options
-rw-r--r-- | .rubocop.yml | 3 | ||||
-rw-r--r-- | .rubocop_todo.yml | 18 |
2 files changed, 3 insertions, 18 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index b166316da..83ce7a33e 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -139,6 +139,9 @@ Rails/HelperInstanceVariable: Rails/SquishedSQLHeredocs: Enabled: false +Rails/WhereExists: + Enabled: false + Style/AsciiComments: Exclude: # Copyright credit has non ascii character. diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index b04754a10..86e1a18f1 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -948,24 +948,6 @@ Rails/WhereEquals: - 'lib/redmine/helpers/gantt.rb' - 'test/functional/issues_controller_test.rb' -# This cop supports unsafe autocorrection (--autocorrect-all). -# Configuration parameters: EnforcedStyle. -# SupportedStyles: exists, where -Rails/WhereExists: - Exclude: - - 'app/controllers/issues_controller.rb' - - 'app/models/issue.rb' - - 'app/models/project.rb' - - 'app/models/user.rb' - - 'app/models/watcher.rb' - - 'lib/redmine/default_data/loader.rb' - - 'test/functional/workflows_controller_test.rb' - - 'test/unit/document_category_test.rb' - - 'test/unit/enumeration_test.rb' - - 'test/unit/issue_status_test.rb' - - 'test/unit/project_test.rb' - - 'test/unit/workflow_transition_test.rb' - # This cop supports safe autocorrection (--autocorrect). Rails/WhereNot: Exclude: |