-
-
Notifications
You must be signed in to change notification settings - Fork 760
Closed
Copy link
Labels
A-CoreArea: coreArea: coreS-Bug-confirmedStatus: report has been confirmed as a valid bugStatus: report has been confirmed as a valid bugS-Help-wantedStatus: you're familiar with the code base and want to help the projectStatus: you're familiar with the code base and want to help the projectgood first issueGood for newcomersGood for newcomers
Description
Environment information
CLI:
Version: 2.3.3
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: alacritty
JS_RUNTIME_VERSION: v22.20.0
JS_RUNTIME_NAME: node
NODE_PACKAGE_MANAGER: unset
Biome Configuration:
Status: Loaded successfully
Path: /Users/lisiur/demo/biome.json
Formatter enabled: true
Linter enabled: true
Assist enabled: true
VCS enabled: true
Workspace:
Open Documents: 0
What happened?
Reproduction:
<template>
<Comp></Comp>
</template>
<script lang="tsx" setup>
const Comp = () => {
return <div></div>
}
</script>parse: Type assertion are a TypeScript only feature. Convert your file to a TypeScript file or remove the syntax.
parse: Unterminated regex literal
Expected result
It should not throw errors.
Code of Conduct
- I agree to follow Biome's Code of Conduct
petrprikryl
Metadata
Metadata
Assignees
Labels
A-CoreArea: coreArea: coreS-Bug-confirmedStatus: report has been confirmed as a valid bugStatus: report has been confirmed as a valid bugS-Help-wantedStatus: you're familiar with the code base and want to help the projectStatus: you're familiar with the code base and want to help the projectgood first issueGood for newcomersGood for newcomers