We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ignore-tidy-todo
1 parent 5ac391e commit 21387e4Copy full SHA for 21387e4
src/tools/tidy/src/style.rs
@@ -444,7 +444,7 @@ pub fn check(path: &Path, bad: &mut bool) {
444
suppressible_tidy_err!(err, skip_cr, "CR character");
445
}
446
if filename != "style.rs" {
447
- if trimmed.contains("TODO") {
+ if trimmed.contains("TODO") && !trimmed.contains("ignore-tidy-todo") {
448
err(
449
"TODO is used for tasks that should be done before merging a PR; If you want to leave a message in the codebase use FIXME",
450
)
0 commit comments