CLI:
Version: 1.5.3
Color support: true
Platform:
CPU Architecture: x86_64
OS: windows
Environment:
BIOME_LOG_DIR: unset
NO_COLOR: unset
TERM: unset
JS_RUNTIME_VERSION: "v21.6.2"
JS_RUNTIME_NAME: "node"
NODE_PACKAGE_MANAGER: "pnpm/8.15.1"
Biome Configuration:
Status: Loaded successfully
Formatter disabled: true
Linter disabled: false
Organize imports disabled: false
VCS disabled: false
Workspace:
Open Documents: 0
Environment information
What happened?
In this code:
useHookAtTopLeveldoes not show an error foruseSomeHooknot being used inside a component-named or hook-named function.Playground link
Expected result
useHookAtTopLevelshould show an error foruseSomeHooknot being used inside a component-named or hook-named function.References:
Code of Conduct