We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48a426e commit 980a521Copy full SHA for 980a521
src/tools/tidy/src/style.rs
@@ -474,6 +474,9 @@ pub fn check(path: &Path, bad: &mut bool) {
474
suppressible_tidy_err!(err, skip_cr, "CR character");
475
}
476
if !is_this_file {
477
+ if line.contains("tidy-ignore") {
478
+ err("use ignore-tidy-[check], not tidy-ignore-[check]");
479
+ }
480
// Allow using TODO in diagnostic suggestions by marking the
481
// relevant line with `// ignore-tidy-todo`.
482
if trimmed.contains("TODO") && !trimmed.contains("ignore-tidy-todo") {
0 commit comments