diff options
-rw-r--r-- | .rubocop_todo.yml | 29 | ||||
-rw-r--r-- | Gemfile | 2 |
2 files changed, 23 insertions, 8 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 415e4b9c9..2370e2a40 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp` -# using RuboCop version 1.52.0. +# using RuboCop version 1.53.1. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new @@ -537,10 +537,11 @@ Rails/ContentTag: - 'lib/redmine/wiki_formatting/markdown/formatter.rb' # Configuration parameters: Include. -# Include: db/migrate/*.rb +# Include: db/**/*.rb Rails/CreateTableWithTimestamps: Enabled: false +# This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle, AllowToTime. # SupportedStyles: strict, flexible Rails/Date: @@ -1479,13 +1480,27 @@ Style/RedundantParentheses: - 'test/unit/version_test.rb' # This cop supports safe autocorrection (--autocorrect). -Style/RedundantRegexpCharacterClass: +Style/RedundantRegexpEscape: Exclude: + - 'app/controllers/settings_controller.rb' - 'app/helpers/application_helper.rb' - -# This cop supports safe autocorrection (--autocorrect). -Style/RedundantRegexpEscape: - Enabled: false + - 'app/helpers/issues_helper.rb' + - 'app/models/mail_handler.rb' + - 'app/models/mailer.rb' + - 'app/models/repository/subversion.rb' + - 'app/models/wiki.rb' + - 'lib/redmine/acts/mentionable.rb' + - 'lib/redmine/diff_table.rb' + - 'lib/redmine/helpers/url.rb' + - 'lib/redmine/i18n.rb' + - 'lib/redmine/plugin.rb' + - 'lib/redmine/scm/adapters/abstract_adapter.rb' + - 'lib/redmine/scm/adapters/bazaar_adapter.rb' + - 'lib/redmine/wiki_formatting/links_helper.rb' + - 'lib/redmine/wiki_formatting/macros.rb' + - 'lib/redmine/wiki_formatting/section_helper.rb' + - 'lib/redmine/wiki_formatting/textile/redcloth3.rb' + - 'test/helpers/application_helper_test.rb' # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowMultipleReturnValues. @@ -103,7 +103,7 @@ group :test do gem "selenium-webdriver", "~> 3.142.7" gem 'webdrivers', '4.6.1', require: false # RuboCop - gem 'rubocop', '~> 1.52.0', require: false + gem 'rubocop', '~> 1.53.1', require: false gem 'rubocop-performance', '~> 1.18.0', require: false gem 'rubocop-rails', '~> 2.20.2', require: false end |