X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/66b5e85845547e6f3c6dba59952217f5882b0271..62349d18564b6d0ac9a4aac61b298df913f5c08d:/.rubocop_todo.yml diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 219135dff..3059d5773 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -12,6 +12,7 @@ require: - rubocop-minitest - rubocop-performance - rubocop-rails + - rubocop-rake # Offense count: 544 # Cop supports --auto-correct. @@ -52,7 +53,7 @@ Lint/DuplicateBranch: # Offense count: 487 # Configuration parameters: IgnoredMethods, CountRepeatedAttributes. Metrics/AbcSize: - Max: 234 + Max: 235 # Offense count: 62 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. @@ -68,7 +69,7 @@ Metrics/BlockNesting: # Offense count: 24 # Configuration parameters: CountComments, CountAsOne. Metrics/ClassLength: - Max: 582 + Max: 587 # Offense count: 52 # Configuration parameters: IgnoredMethods. @@ -155,6 +156,7 @@ Rails/NotNullColumn: # Offense count: 8 Rails/OutputSafety: Exclude: + - 'app/controllers/sessions_controller.rb' - 'app/controllers/users_controller.rb' - 'app/helpers/application_helper.rb' - 'lib/rich_text.rb' @@ -167,6 +169,15 @@ Rails/OutputSafety: Rails/TimeZone: Enabled: false +# Offense count: 8 +Rake/Desc: + Exclude: + - 'lib/tasks/auto_annotate_models.rake' + - 'lib/tasks/eslint.rake' + - 'lib/tasks/subscribe_diary_authors.rake' + - 'lib/tasks/subscribe_old_changesets.rake' + - 'lib/tasks/testing.rake' + # Offense count: 558 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle.