Skip to contentSlop Block

no-file-level-lint-suppression

Warning

Keep suppressions local: no #![allow], /* eslint-disable */, @ts-nocheck or ignore_for_file.

#![allow(clippy::useless_let_if_seq)]This #![allow] silences the lint for the whole modulefn run() {}
// ast-grep-ignore: no-file-level-lint-suppression-rust

How to fix

Move it to the item that needs it and give a reason.