Presubmit.Rules.Hygiene (presubmit v0.2.2)

Copy Markdown View Source

Things that should never be committed. Options:

  • debug: — regex over added lines under lib/ (default: IO.inspect, dbg, IEx.pry).
  • artifacts: — path patterns that must not be added (default: .DS_Store, .orig, .rej, .beam, _build/).

Rules

  • no_debug_calls — no debugging calls in lib/
  • no_merge_markers — no conflict markers
  • no_artifacts — no build artifacts or editor droppings