jenkins-bot has submitted this change and it was merged.

Change subject: Added custom RuboCop check for Style/DotPosition
......................................................................


Added custom RuboCop check for Style/DotPosition

Adopting trailing dot position as it's already used within the project.

Bug: 63307
Change-Id: Ib7de913fba73a676f14fc3b0b54a01f5c93e7ecc
---
M .rubocop.yml
M .rubocop_todo.yml
2 files changed, 4 insertions(+), 6 deletions(-)

Approvals:
  Dduvall: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/.rubocop.yml b/.rubocop.yml
index cc32da4..7dc14a1 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -1 +1,5 @@
 inherit_from: .rubocop_todo.yml
+
+Syle/DotPosition:
+  Enabled: true
+  EnforcedStyle: trailing
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 6e29d00..34dcf06 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -42,12 +42,6 @@
 Style/Documentation:
   Enabled: false
 
-# Offense count: 30
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, SupportedStyles.
-Style/DotPosition:
-  Enabled: false
-
 # Offense count: 2
 # Cop supports --auto-correct.
 Style/LeadingCommentSpace:

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib7de913fba73a676f14fc3b0b54a01f5c93e7ecc
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/ruby/api
Gerrit-Branch: master
Gerrit-Owner: Zfilipin <[email protected]>
Gerrit-Reviewer: Cmcmahon <[email protected]>
Gerrit-Reviewer: Dduvall <[email protected]>
Gerrit-Reviewer: Zfilipin <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to