Skip to content

Commit fc65a45

Browse files
committed
Merge branch 'electro-remove-rubocop' into staging/electro-release
2 parents c937c4b + 6b262cb commit fc65a45

File tree

2 files changed

+0
-29
lines changed

2 files changed

+0
-29
lines changed

.rubocop.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

tools/msftidy.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -335,15 +335,6 @@ def check_extname
335335
end
336336
end
337337

338-
# Explicitly skip this check if we're suppressing info messages
339-
# anyway, since it takes a fair amount of time per module to perform.
340-
def check_rubocop
341-
return true if SUPPRESS_INFO_MESSAGES
342-
out = %x{rubocop -n #{@full_filepath}}
343-
ret = $?
344-
info("Fails to pass Rubocop Ruby style guidelines (run 'rubocop #{@full_filepath}' to see violations)") unless ret.exitstatus == 0
345-
end
346-
347338
def check_old_rubies
348339
return true unless CHECK_OLD_RUBIES
349340
return true unless Object.const_defined? :RVM
@@ -611,7 +602,6 @@ def run_checks(full_filepath)
611602
tidy.check_vuln_codes
612603
tidy.check_vars_get
613604
tidy.check_newline_eof
614-
tidy.check_rubocop
615605
tidy.check_sock_get
616606
tidy.check_udp_sock_get
617607
return tidy

0 commit comments

Comments
 (0)