Skip to content

Commit

Permalink
Add binding.irb as a target for debugging code check
Browse files Browse the repository at this point in the history
  • Loading branch information
mataku committed Nov 14, 2023
1 parent abc4a94 commit 03001bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fastlane/Fastfile
Expand Up @@ -28,6 +28,7 @@ lane :lint_source do
#
exclude_dirs = ["\.bundle", "*/vendor/bundle"]
ensure_no_debug_code(text: "binding.pry", extension: ".rb", exclude: "playground.rb", exclude_dirs: exclude_dirs) # debugging code
ensure_no_debug_code(text: "binding.irb", extension: ".rb", exclude: "playground.rb", exclude_dirs: exclude_dirs) # debugging code
ensure_no_debug_code(text: "# TODO", extension: ".rb", exclude_dirs: exclude_dirs) # TODOs
ensure_no_debug_code(text: "now: ", extension: ".rb", exclude_dirs: exclude_dirs) # rspec focus
ensure_no_debug_code(text: "<<<<<<<", extension: ".rb", exclude_dirs: exclude_dirs) # Merge conflict
Expand Down

0 comments on commit 03001bf

Please sign in to comment.