Project config (.vulkro-sf.yml)
An optional .vulkro-sf.yml file that vulkro-sf antipatterns reads for per-project settings.
Put it at your SFDX project root. The scanner looks in the scan root and up to three parent folders, so a scan of force-app/ finds the file at the project root.
# Anti-pattern detectors to silence (AP-NNN ids).
disable:
- AP-013
- AP-029
# Namespaces the project owns, beyond what sfdx-project.json declares.
extra_excluded_namespaces:
- npe01
- npe03
- npo02
| Key | What it does | CLI equivalent |
|---|---|---|
disable | Drops findings from these detectors from the output. | None (config only). |
extra_excluded_namespaces | Treats these namespaces as the project's own, which quiets AP-028 and AP-029 on merged-package projects. Added to any --exclude-namespace values. | --exclude-namespace |
Both keys are optional. With no file, or an empty one, the scanner uses its defaults. A malformed file prints a warning and the scan continues with defaults.
The incremental cache stores findings before disable is applied, so removing an id from disable brings its findings back on the next scan without a re-scan.
To silence one finding instead of a whole detector, use a suppress comment.