-
-
Notifications
You must be signed in to change notification settings - Fork 794
Labels
A-LinterArea: linterArea: linterS-Bug-confirmedStatus: report has been confirmed as a valid bugStatus: report has been confirmed as a valid bug
Description
Environment information
CLI:
Version: 2.3.8
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: v22.18.0
JS_RUNTIME_NAME: node
NODE_PACKAGE_MANAGER: unset
Biome Configuration:
Status: Loaded successfully
Path: biome.json
Formatter enabled: true
Linter enabled: true
Assist enabled: true
VCS enabled: false
Linter:
JavaScript enabled: unset
JSON enabled: unset
CSS enabled: unset
GraphQL enabled: unset
Recommended: false
Enabled rules:
complexity/noUselessSwitchCase
complexity/noUselessTypeConstraint
complexity/useDateNow
correctness/noUnusedImports
nursery/noFloatingPromises
nursery/noMisusedPromises
performance/noDelete
style/noRestrictedImports
style/useImportType
style/useNodejsImportProtocol
suspicious/noDebugger
suspicious/noDuplicateObjectKeys
suspicious/noImplicitAnyLet
suspicious/noTsIgnore
Workspace:
Open Documents: 0Rule name
noMisusedPromises
Playground link
Expected result
should emit an error or a warning
Code of Conduct
- I agree to follow Biome's Code of Conduct
Metadata
Metadata
Assignees
Labels
A-LinterArea: linterArea: linterS-Bug-confirmedStatus: report has been confirmed as a valid bugStatus: report has been confirmed as a valid bug