Replies: 1 comment
-
|
@fxsalazar Thanks for reporting this. We've identified the issue here — the [[triage]] rules in qlty.toml aren't being applied to similar-code / identical-code results in the CLI; thus, it's not currently possible to exclude duplications checks on a per-file basis. (The cloud ignore rules work because they're applied separately when displaying results, rather than going through the same code path as the CLI.) We're looking into a fix and will update this issue when it's available 👍 . |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
What is the compatible qlty.toml configuration for Ignore Rules, specifically for similar-code, for the CLI?
I set the rule "Qlty/similar-code" for
**/*.stories.tsxin the cloud and it's working, but trying it locally with the CLI it just does not ignore them; I tried[[triage]]and[[exclude]]without success. Only passing the flag--no-duplicationis working, but I need it to be configurable.How to reproduce (optional)
No response
Expected behavior (optional)
No response
CLI Version
qlty 0.613.0 macos-arm64 (5de6930 2026-02-14)
Information about Qlty configuration and environment (optional)
No response
Beta Was this translation helpful? Give feedback.
All reactions