Triaging Issues with Qlty Cloud

Request early access

This page describes features that are in private beta. Request early access to get them sooner.

Within the Qlty web application, you can interactively ignore issues to quickly triage false positives.

Ignoring one instance of an issue

  • From the Issues tab, navigate to the page for the check
  • Click the “X” icon to the right of the specific issue you want to ignore
  • From the dropdown menu, choose “Ignore this as intentional” or “Ignore this as a false positive”
  • Optionally add a comment and click the “Ignore” button to confirm

The specific issue will now be ignored.

Note: We use a fingerprinting algorithm to identify ignored issues in future static analysis runs. Fingerprinting is inherently imperfect, and in some cases a fingerprint will change on a previously ignored issue. When this happens, you will need to ignore it again

Ignoring a check everywhere

  • From the Issues tab, navigate to the page for the check
  • Click the “Ignore” button on the right side of the page header
  • From the dropdown menu, choose “Everywhere”
  • After confirming, the check will be ignored everywhere

Ignoring a check in a file

  • From the Issues tab, navigate to the page for the check
  • Click the “Ignore” button on the right side of the page header
  • From the dropdown menu, choose “For a path pattern”
  • For the Pattern, input the full file path relative to the repository
  • After confirming, the check will be ignored anywhere in the file

Ignoring a check in a directory

  • From the Issues tab, navigate to the page for the check
  • Click the “Ignore” button on the right side of the page header
  • From the dropdown menu, choose “For a path pattern”
  • For the Pattern, input the directory in path glob form e.g. some/directory/**
  • After confirming, the check will be ignored in any files matching the path glob

Reviewing ignored issues

Issues that have been ignored in the web application and are still present in the codebase can be viewing on the “Issues” tab by changing the Status filter to include “Ignored” issues.

Issues that have been ignored in the project configuration file (.qlty/qlty.toml) are surpressed at generation time and cannot be viewed in the Qlty web application.

Reviewing ignore rules

Ignore rules that were created in the Qlty web application can be viewed on the “Ignored Issues” tab in Project Settings. They can be removed from that page, in which case the issues will change their Status from Ignored to Open.

Ignore rules that are stored in the project configuration file (.qlty/qlty.toml) can be viewed there.

See Also