diff --git a/.rubocop.yml b/.rubocop.yml index 869a8268e..d362aa946 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -45,6 +45,9 @@ Rails/BulkChangeTable: - 'db/migrate/20120714122200_add_workflows_rule_fields.rb' - 'db/migrate/20131214094309_remove_custom_fields_min_max_length_default_values.rb' +Rails/HelperInstanceVariable: + Enabled: false + Style/FrozenStringLiteralComment: Enabled: true EnforcedStyle: always diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 57d368809..cd9861f09 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -941,26 +941,6 @@ Rails/HasManyOrHasOneDependent: - 'app/models/tracker.rb' - 'app/models/wiki.rb' -# Configuration parameters: Include. -# Include: app/helpers/**/*.rb -Rails/HelperInstanceVariable: - Exclude: - - 'app/helpers/application_helper.rb' - - 'app/helpers/attachments_helper.rb' - - 'app/helpers/context_menus_helper.rb' - - 'app/helpers/imports_helper.rb' - - 'app/helpers/issues_helper.rb' - - 'app/helpers/journals_helper.rb' - - 'app/helpers/projects_helper.rb' - - 'app/helpers/queries_helper.rb' - - 'app/helpers/repositories_helper.rb' - - 'app/helpers/search_helper.rb' - - 'app/helpers/sort_helper.rb' - - 'app/helpers/timelog_helper.rb' - - 'app/helpers/users_helper.rb' - - 'app/helpers/versions_helper.rb' - - 'app/helpers/workflows_helper.rb' - # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: numeric, symbolic