diff options
-rw-r--r-- | .rubocop.yml | 3 | ||||
-rw-r--r-- | .rubocop_todo.yml | 17 |
2 files changed, 3 insertions, 17 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index adca4494b..6c94995bb 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -204,6 +204,9 @@ Style/NegatedIfElseCondition: Style/RaiseArgs: Enabled: false +Style/Semicolon: + Enabled: false + Style/SlicingWithRange: Enabled: false diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index de3a00c03..259105a4b 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1697,23 +1697,6 @@ Style/SelfAssignment: - 'lib/redmine/helpers/time_report.rb' # This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: AllowAsExpressionSeparator. -Style/Semicolon: - Exclude: - - 'app/controllers/account_controller.rb' - - 'app/controllers/context_menus_controller.rb' - - 'app/controllers/journals_controller.rb' - - 'app/controllers/messages_controller.rb' - - 'app/controllers/repositories_controller.rb' - - 'app/models/journal.rb' - - 'app/models/mail_handler.rb' - - 'app/models/query.rb' - - 'lib/redmine/configuration.rb' - - 'lib/redmine/scm/adapters/git_adapter.rb' - - 'lib/redmine/sort_criteria.rb' - - 'lib/redmine/wiki_formatting/textile/redcloth3.rb' - -# This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowIfMethodIsEmpty. Style/SingleLineMethods: Enabled: false |