Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/capabilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ 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.

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.
Expand Down
2 changes: 2 additions & 0 deletions docs/configuration_and_flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <patterns>`

Specify a comma-separated list of file patterns to scan for environment variable usage.
Expand Down