Amire80 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/191060

Change subject: Fix the Rubocop offense StringLiterals
......................................................................

Fix the Rubocop offense StringLiterals

Change-Id: Ib8d5722c8ffdddd8616baac5839007ae80c98b25
---
M .docs/CustomTags.rb
M .rubocop_todo.yml
2 files changed, 3 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/VisualEditor/VisualEditor 
refs/changes/60/191060/1

diff --git a/.docs/CustomTags.rb b/.docs/CustomTags.rb
index 33be38a..26fe678 100644
--- a/.docs/CustomTags.rb
+++ b/.docs/CustomTags.rb
@@ -34,7 +34,7 @@
 class SourceTag < CommonTag
   def initialize
     @tagname = :source
-    @pattern = "source"
+    @pattern = 'source'
     super
   end
 
@@ -51,7 +51,7 @@
 class UntilTag < CommonTag
   def initialize
     @tagname = :until
-    @pattern = "until"
+    @pattern = 'until'
     super
   end
 
@@ -69,7 +69,7 @@
 class SeeTag < CommonTag
   def initialize
     @tagname = :see
-    @pattern = "see"
+    @pattern = 'see'
     super
   end
 
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 10917e5..ed02166 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -29,9 +29,3 @@
 # Cop supports --auto-correct.
 Style/PerlBackrefs:
   Enabled: false
-
-# Offense count: 5
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, SupportedStyles.
-Style/StringLiterals:
-  Enabled: false

-- 
To view, visit https://gerrit.wikimedia.org/r/191060
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib8d5722c8ffdddd8616baac5839007ae80c98b25
Gerrit-PatchSet: 1
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Amire80 <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to