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

Change subject: Ignore additional RuboCop Metric/* rules
......................................................................


Ignore additional RuboCop Metric/* rules

Per our Ruby coding conventions.

https://www.mediawiki.org/w/index.php?title=Manual:Coding_conventions/Ruby&oldid=1280750#Base_configuration

Change-Id: I5db00362160ba8e102c6b1e04ff9a45987af57bb
---
M .rubocop.yml
1 file changed, 15 insertions(+), 0 deletions(-)

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

Objections:
  Hashar: There's a problem with this change, please improve



diff --git a/.rubocop.yml b/.rubocop.yml
index 74beb11..3e8b0f7 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -1,9 +1,24 @@
+Metrics/AbcSize:
+  Enabled: false
+
 Metrics/ClassLength:
+  Enabled: false
+
+Metrics/MethodLength:
+  Enabled: false
+
+Metrics/ParameterLists:
   Enabled: false
 
 Metrics/LineLength:
   Max: 100
 
+Metrics/CyclomaticComplexity:
+  Enabled: false
+
+Metrics/PerceivedComplexity:
+  Enabled: false
+
 Metrics/MethodLength:
   Enabled: false
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5db00362160ba8e102c6b1e04ff9a45987af57bb
Gerrit-PatchSet: 5
Gerrit-Project: mediawiki/ruby/api
Gerrit-Branch: master
Gerrit-Owner: Dduvall <[email protected]>
Gerrit-Reviewer: Cmcmahon <[email protected]>
Gerrit-Reviewer: Hashar <[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