From f6c3e4676e77b7f9d869ee93d2cdc53083d40ffb Mon Sep 17 00:00:00 2001 From: Chrilleweb Date: Sun, 29 Mar 2026 17:59:39 +0200 Subject: [PATCH 1/2] chore: minor docs change --- docs/capabilities.md | 2 -- docs/configuration_and_flags.md | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/capabilities.md b/docs/capabilities.md index 0c786b8..197087f 100644 --- a/docs/capabilities.md +++ b/docs/capabilities.md @@ -34,8 +34,6 @@ import { MY_KEY } from '$env/static/public'; MY_KEY ``` -Default scanned file types: .ts, .js, jsx, tsx, vue, .mjs, .mts, .cjs, .cts, .svelte - ## What It Checks For > **Note:** The scanner skips files containing any line over 500 characters, as these are likely minified or bundled — this avoids false positives across all checks below. diff --git a/docs/configuration_and_flags.md b/docs/configuration_and_flags.md index 7ce2256..bc40281 100644 --- a/docs/configuration_and_flags.md +++ b/docs/configuration_and_flags.md @@ -330,6 +330,8 @@ Usage in the configuration file: ## File Scanning Flags +> **Note:** Default file patterns: .ts, .js, jsx, tsx, vue, .mjs, .mts, .cjs, .cts, .svelte + ### `--files ` Specify a comma-separated list of file patterns to scan for environment variable usage. From 07d00f5c03ced0d02f8c79d22bb26508658747e6 Mon Sep 17 00:00:00 2001 From: Chrilleweb Date: Sun, 29 Mar 2026 18:06:45 +0200 Subject: [PATCH 2/2] chore: minor docs change --- docs/capabilities.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/capabilities.md b/docs/capabilities.md index 197087f..7b79718 100644 --- a/docs/capabilities.md +++ b/docs/capabilities.md @@ -38,6 +38,8 @@ MY_KEY > **Note:** The scanner skips files containing any line over 500 characters, as these are likely minified or bundled — this avoids false positives across all checks below. +Which files are scanned is determined by the file scanning configuration (see [configuration and flags](./configuration_and_flags.md#file-scanning-flags)). + ### 1 Missing Variables Variables that are **used in code** but **not defined** in the selected env comparison file.