Rename Metrics/LineLength to Layout/LineLength (#5255)

This commit is contained in:
rhymes 2019-12-27 15:58:35 +01:00 committed by Molly Struve
parent 1ac9a2d7bd
commit d1383ffdb6
2 changed files with 9 additions and 9 deletions

View file

@ -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

View file

@ -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