Environment information
CLI:
Version: 2.3.5
Color support: true
Platform:
CPU Architecture: aarch64
OS: macos
Environment:
BIOME_LOG_PATH: unset
BIOME_LOG_PREFIX_NAME: unset
BIOME_CONFIG_PATH: unset
BIOME_THREADS: unset
NO_COLOR: unset
TERM: xterm-256color
JS_RUNTIME_VERSION: v24.11.1
JS_RUNTIME_NAME: node
NODE_PACKAGE_MANAGER: pnpm/10.22.0
Biome Configuration:
Status: Loaded successfully
Path: biome.json
Formatter enabled: true
Linter enabled: true
Assist enabled: true
VCS enabled: true
Workspace:
Open Documents: 0
What happened?
For Astro frontmatters, seeing Illegal return statement outside of a function warning for return statements
Biome Playground link
Apparently this was fixed in #2232, is this a regression?
Expected result
Astro frontmatter return statement should not have this warning
Code of Conduct
Environment information
What happened?
For Astro frontmatters, seeing
Illegal return statement outside of a functionwarning for return statementsBiome Playground link
Apparently this was fixed in #2232, is this a regression?
Expected result
Astro frontmatter return statement should not have this warning
Code of Conduct