Skip to content

Commit

Permalink
ci: deny dbg macro (#4740)
Browse files Browse the repository at this point in the history
Add lint to prevent dbg! in repo
  • Loading branch information
stringhandler authored Sep 27, 2022
1 parent 9d06408 commit 79ff23a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lints.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ deny = [
'clippy::unnecessary_to_owned',
'clippy::nonminimal_bool',
'clippy::needless_question_mark',
# dbg! macro is intended as a debugging tool. It should not be in version control.
'clippy::dbg_macro'
]

allow = [
Expand Down

0 comments on commit 79ff23a

Please sign in to comment.