CLI:
Version: 1.7.3
Color support: true
Platform:
CPU Architecture: x86_64
OS: linux
Environment:
BIOME_LOG_DIR: unset
NO_COLOR: unset
TERM: "xterm-256color"
JS_RUNTIME_VERSION: "v20.12.0"
JS_RUNTIME_NAME: "node"
NODE_PACKAGE_MANAGER: "yarn/4.1.1"
Biome Configuration:
Status: Loaded successfully
Formatter disabled: false
Linter disabled: false
Organize imports disabled: false
VCS disabled: false
Workspace:
Open Documents: 0
vite-env.d.ts
to define an ImportMeta
(which is used for type-safe env configs)interface ImportMetaEnv {
// ... imagine there are fields here, contents not relevant
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}
biome check
, and compare the results.biome check
finds no issues.suppressions/unused
warning on biome check
.Either both will issue an incorrect noUnusedVariables
warning, because the ImportMeta
interface is not exported (and thus not used), or both will be fine with it. The actual fix in this case is to simply export the interface, but it's concerning that I would get a warning in one scenario but not the other.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too