Amire80 has uploaded a new change for review.
https://gerrit.wikimedia.org/r/191059
Change subject: Fix the Rubocop offense SpaceAroundOperators
......................................................................
Fix the Rubocop offense SpaceAroundOperators
Change-Id: I6de489fda8c2ba5ea931401d35c7bc6e23baf540
---
M .docs/CustomTags.rb
M .rubocop_todo.yml
2 files changed, 2 insertions(+), 7 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/VisualEditor/VisualEditor
refs/changes/59/191059/1
diff --git a/.docs/CustomTags.rb b/.docs/CustomTags.rb
index 93437e3..33be38a 100644
--- a/.docs/CustomTags.rb
+++ b/.docs/CustomTags.rb
@@ -95,7 +95,7 @@
doc = $2 ? ': ' + $2 : ''
return formatter.format("{@link #{name}} #{doc}")
else
- JsDuck::Logger.warn(nil, 'Unexpected @see argument: "'+tag+'"', position)
+ JsDuck::Logger.warn(nil, 'Unexpected @see argument: "' + tag + '"',
position)
return tag
end
end
@@ -127,7 +127,7 @@
name = $1
return formatter.format("`this` : {@link #{name}}")
else
- JsDuck::Logger.warn(nil, 'Unexpected @this argument: "'+tag+'"',
position)
+ JsDuck::Logger.warn(nil, 'Unexpected @this argument: "' + tag + '"',
position)
return tag
end
end
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 9da2899..10917e5 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -30,11 +30,6 @@
Style/PerlBackrefs:
Enabled: false
-# Offense count: 4
-# Cop supports --auto-correct.
-Style/SpaceAroundOperators:
- Enabled: false
-
# Offense count: 5
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
--
To view, visit https://gerrit.wikimedia.org/r/191059
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6de489fda8c2ba5ea931401d35c7bc6e23baf540
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