Damienkan has uploaded a new change for review. https://gerrit.wikimedia.org/r/159630
Change subject: Add Rubocop files. ...................................................................... Add Rubocop files. Change-Id: If7733f04564036f9e19f51ae8ee472c74db8c20b --- A .rubocop.yml A .rubocop_todo.yml 2 files changed, 102 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/ruby/api refs/changes/30/159630/1 diff --git a/.rubocop.yml b/.rubocop.yml new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.rubocop.yml diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml new file mode 100644 index 0000000..fee2ad7 --- /dev/null +++ b/.rubocop_todo.yml @@ -0,0 +1,102 @@ +# This configuration was generated by `rubocop --auto-gen-config` +# on 2014-09-10 11:44:33 -0700 using RuboCop version 0.26.0. +# The point is for the user to remove these configuration records +# one by one as the offenses are removed from the code base. +# Note that changes in the inspected code, or installation of new +# versions of RuboCop, may require this file to be generated again. + +# Offense count: 3 +Lint/UselessAssignment: + Enabled: false + +# Offense count: 1 +# Configuration parameters: CountComments. +Metrics/ClassLength: + Max: 122 + +# Offense count: 1 +Metrics/CyclomaticComplexity: + Max: 7 + +# Offense count: 53 +# Configuration parameters: AllowURI. +Metrics/LineLength: + Max: 182 + +# Offense count: 3 +# Configuration parameters: CountComments. +Metrics/MethodLength: + Max: 13 + +# Offense count: 1 +# Cop supports --auto-correct. +Style/Alias: + Enabled: false + +# Offense count: 9 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, SupportedStyles. +Style/BracesAroundHashParameters: + Enabled: false + +# Offense count: 1 +# Configuration parameters: EnforcedStyle, SupportedStyles. +Style/ClassAndModuleChildren: + Enabled: false + +# Offense count: 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: + Enabled: false + +# Offense count: 2 +# Cop supports --auto-correct. +# Configuration parameters: PreferredDelimiters. +Style/PercentLiteralDelimiters: + Enabled: false + +# Offense count: 1 +Style/RegexpLiteral: + MaxSlashes: 0 + +# Offense count: 6 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, SupportedStyles. +Style/SignalException: + Enabled: false + +# Offense count: 9 +# Cop supports --auto-correct. +Style/SpaceInsideParens: + Enabled: false + +# Offense count: 1 +# Cop supports --auto-correct. +Style/SpecialGlobalVars: + Enabled: false + +# Offense count: 299 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, SupportedStyles. +Style/StringLiterals: + Enabled: false + +# Offense count: 2 +# Cop supports --auto-correct. +Style/UnneededPercentQ: + Enabled: false + +# Offense count: 4 +# Cop supports --auto-correct. +Style/WordArray: + MinSize: 2 -- To view, visit https://gerrit.wikimedia.org/r/159630 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If7733f04564036f9e19f51ae8ee472c74db8c20b Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/ruby/api Gerrit-Branch: master Gerrit-Owner: Damienkan <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
