feat: warn on dbg calls
Implements a warning for calls to the dbg/0 or dbg/2 Kernel fns.
I used the IO.inspect check as a reference.
I decided to not check for the use of Macro.dbg/3 because that function could be used as a fallback when building custom backends for dbg().
I have streamlined the way we check if a given :dbg call should be a warning or not. If the user attempts to override the auto-imported dbg fns dbg/0, dbg/1, dbg/2 he'll get a compile error, so we shouldn't worry about those.
@rrrene, any chance to get this rolling again? Not sure how to tackle the red CI checks.
@ding-an-sich Thx! :+1:
This is part of Credo v1.7.0-rc.1 :+1: