Zfilipin has uploaded a new change for review.
https://gerrit.wikimedia.org/r/172730
Change subject: Fixed RuboCop Style/EmptyLineBetweenDefs offence
......................................................................
Fixed RuboCop Style/EmptyLineBetweenDefs offence
Bug: 72841
Change-Id: I9541ae1b5081bca4d9a4b55ca81fc805f20022d8
---
M .rubocop_todo.yml
M bin/doccomparer.rb
2 files changed, 1 insertion(+), 6 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/30/172730/1
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index e59491c..6a3cdec 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -44,12 +44,6 @@
# Offense count: 1
# Cop supports --auto-correct.
-# Configuration parameters: AllowAdjacentOneLineDefs.
-Style/EmptyLineBetweenDefs:
- Enabled: false
-
-# Offense count: 1
-# Cop supports --auto-correct.
Style/EmptyLines:
Enabled: false
diff --git a/bin/doccomparer.rb b/bin/doccomparer.rb
index 6ce3591..3ba2786 100644
--- a/bin/doccomparer.rb
+++ b/bin/doccomparer.rb
@@ -93,6 +93,7 @@
def smart_compare_methods a, b, a_name, b_name
smart_compare a, b, a_name, b_name, :method
end
+
def smart_compare_properties a, b, a_name, b_name
smart_compare a, b, a_name, b_name, :property
end
--
To view, visit https://gerrit.wikimedia.org/r/172730
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9541ae1b5081bca4d9a4b55ca81fc805f20022d8
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Zfilipin <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits