From b354da52674b632b79a5c89bb0926d6722e3050a Mon Sep 17 00:00:00 2001 From: Jonathan Leitschuh Date: Sun, 23 Feb 2025 10:44:45 -0700 Subject: [PATCH] docs: update run-linter-locally.md (#6326) Add information about the DEFAULT_BRANCH variable Close #5472 --- docs/run-linter-locally.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/run-linter-locally.md b/docs/run-linter-locally.md index da539e3e..9593d53a 100644 --- a/docs/run-linter-locally.md +++ b/docs/run-linter-locally.md @@ -30,6 +30,10 @@ Notes: - 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 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 documented in the [readme](../README.md#configure-super-linter).