docs: update run-linter-locally.md (#6326)

Add information about the DEFAULT_BRANCH variable

Close #5472
This commit is contained in:
Jonathan Leitschuh 2025-02-23 10:44:45 -07:00 committed by GitHub
parent a373ff1396
commit b354da5267
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: B5690EEEBB952194

View file

@ -30,6 +30,10 @@ Notes:
- If you want to override the `/tmp/lint` folder, you can set the - If you want to override the `/tmp/lint` folder, you can set the
`DEFAULT_WORKSPACE` environment variable to point to the folder you'd prefer `DEFAULT_WORKSPACE` environment variable to point to the folder you'd prefer
to scan. to scan.
- If the default branch for your repository doesn't match the default, you can
use the `DEFAULT_BRANCH` variable to set the default branch. For more
information about the default value of the `DEFAULT_BRANCH` variable, see the
[README](../README.md).
- You can add as many configuration options as needed. Configuration options are - You can add as many configuration options as needed. Configuration options are
documented in the [readme](../README.md#configure-super-linter). documented in the [readme](../README.md#configure-super-linter).