Skip to content

Commit

Permalink
Merge branch 'electro-remove-rubocop' into staging/electro-release
Browse files Browse the repository at this point in the history
  • Loading branch information
shuckins-r7 committed Aug 12, 2014
2 parents c937c4b + 6b262cb commit fc65a45
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 29 deletions.
19 changes: 0 additions & 19 deletions .rubocop.yml

This file was deleted.

10 changes: 0 additions & 10 deletions tools/msftidy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -335,15 +335,6 @@ def check_extname
end
end

# Explicitly skip this check if we're suppressing info messages
# anyway, since it takes a fair amount of time per module to perform.
def check_rubocop
return true if SUPPRESS_INFO_MESSAGES
out = %x{rubocop -n #{@full_filepath}}
ret = $?
info("Fails to pass Rubocop Ruby style guidelines (run 'rubocop #{@full_filepath}' to see violations)") unless ret.exitstatus == 0
end

def check_old_rubies
return true unless CHECK_OLD_RUBIES
return true unless Object.const_defined? :RVM
Expand Down Expand Up @@ -611,7 +602,6 @@ def run_checks(full_filepath)
tidy.check_vuln_codes
tidy.check_vars_get
tidy.check_newline_eof
tidy.check_rubocop
tidy.check_sock_get
tidy.check_udp_sock_get
return tidy
Expand Down

0 comments on commit fc65a45

Please sign in to comment.