diff --git a/.rubocop.yml b/.rubocop.yml index d5756ed53..10abfd04f 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -15,11 +15,6 @@ RSpec/DescribeClass: RSpec/ExampleLength: Max: 10 -# TODO: Uncomment it after fix rubocop-todo Metrics/LineLength -# Metrics/LineLength: -# Description: 'Limit lines to 100 characters.' -# Max: 100 - ############################# AllCops: @@ -162,6 +157,11 @@ Layout/DotPosition: StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains' EnforcedStyle: trailing +# # TODO: Uncomment this after fixing Layout/LineLength in .rubocop_todo.yml +# Layout/LineLength: +# Description: 'Limit lines to 100 characters.' +# Max: 100 + Layout/MultilineOperationIndentation: Description: >- Checks indentation of binary operations that span more than diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index f0280e099..fada5efa4 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2019-12-23 17:59:33 +0100 using RuboCop version 0.77.0. +# on 2019-12-27 12:06:19 +0100 using RuboCop version 0.78.0. # 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 @@ -26,7 +26,7 @@ RSpec/ExampleLength: - 'spec/requests/api/v0/articles_spec.rb' - 'spec/requests/display_ad_events_spec.rb' -# Offense count: 454 +# Offense count: 459 # Configuration parameters: AggregateFailuresByDefault. RSpec/MultipleExpectations: Max: 8 @@ -69,9 +69,9 @@ Style/GuardClause: Exclude: - 'app/models/article.rb' -# Offense count: 3338 +# Offense count: 3362 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https -Metrics/LineLength: +Layout/LineLength: Max: 380