diff --git a/.qlty/qlty.toml b/.qlty/qlty.toml index 662b1d25..fedabded 100644 --- a/.qlty/qlty.toml +++ b/.qlty/qlty.toml @@ -95,11 +95,6 @@ name = "yamllint" plugins = ["osv-scanner", "trufflehog"] file_patterns = ["qlty-cli/tests/**"] -# Disable ripgrep from analyzing the ripgrep parser -[[ignore]] -plugins = ["ripgrep"] -file_patterns = ["**/ripgrep.rs"] - [[ignore]] rules = ["markdownlint/MD024"] file_patterns = ["CHANGELOG.md"] \ No newline at end of file diff --git a/qlty-check/src/parser/ripgrep.rs b/qlty-check/src/parser/ripgrep.rs index 3b09ca48..7ec2a1e4 100644 --- a/qlty-check/src/parser/ripgrep.rs +++ b/qlty-check/src/parser/ripgrep.rs @@ -1,3 +1,4 @@ +// qlty-ignore: +ripgrep use super::Parser; use anyhow::Result; use qlty_types::analysis::v1::{Category, Issue, Level, Location, Range}; diff --git a/qlty-check/src/parser/sarif.rs b/qlty-check/src/parser/sarif.rs index 0f16d499..1d1bdc3d 100644 --- a/qlty-check/src/parser/sarif.rs +++ b/qlty-check/src/parser/sarif.rs @@ -280,6 +280,7 @@ impl Parser for Sarif { } } +// qlty-ignore: +ripgrep #[cfg(test)] mod test { use super::*;