]> git.openstreetmap.org Git - rails.git/commitdiff
Update COP names
authorTom Hughes <tom@compton.nu>
Wed, 18 Dec 2019 22:46:56 +0000 (22:46 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 18 Dec 2019 22:46:56 +0000 (22:46 +0000)
.erb-lint.yml
.rubocop_todo.yml

index ca95fb0d7616981c119e9f118708fbed0f957fce..7737aee0634b0cdb6ee70497740f16700daa6029 100644 (file)
@@ -10,6 +10,8 @@ linters:
         - .rubocop.yml
       Layout/InitialIndentation:
         Enabled: false
+      Layout/LineLength:
+        Enabled: false
       Layout/TrailingEmptyLines:
         Enabled: false
       Layout/TrailingWhitespace:
@@ -18,8 +20,6 @@ linters:
         Enabled: false
       Style/FrozenStringLiteralComment:
         Enabled: false
-      Metrics/LineLength:
-        Enabled: false
       Lint/UselessAssignment:
         Enabled: false
       Rails/OutputSafety:
index 2545d7284374180d492b59653621e65b4194fd8f..c1923e9829983578f92dee99beb8e7fd37cf7e86 100644 (file)
@@ -6,6 +6,13 @@
 # Note that changes in the inspected code, or installation of new
 # versions of RuboCop, may require this file to be generated again.
 
+# Offense count: 3338
+# Cop supports --auto-correct.
+# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
+# URISchemes: http, https
+Layout/LineLength:
+  Max: 260
+
 # Offense count: 35
 # Configuration parameters: AllowSafeAssignment.
 Lint/AssignmentInCondition:
@@ -205,10 +212,3 @@ Style/IfUnlessModifier:
 # Configuration parameters: Strict.
 Style/NumericLiterals:
   MinDigits: 11
-
-# Offense count: 3338
-# Cop supports --auto-correct.
-# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
-# URISchemes: http, https
-Metrics/LineLength:
-  Max: 260