Skip to content

Files

Latest commit

 

History

History
39 lines (29 loc) · 498 Bytes

Lint-Debugger.md

File metadata and controls

39 lines (29 loc) · 498 Bytes

Pattern: Call to debugger/pry

Issue: -

Description

This rule checks for calls to debugger or pry.

Examples

# bad (ok during development)

# using pry
def some_method
  binding.pry
  do_something
end
# bad (ok during development)

# using byebug
def some_method
  byebug
  do_something
end
# good

def some_method
  do_something
end

Further Reading