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
<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
It should not throw errors.
Environment information
What happened?
Reproduction:
https://biomejs.dev/playground/?code=PAB0AGUAbQBwAGwAYQB0AGUAPgAKACAAIAA8AEMAbwBtAHAAPgA8AC8AQwBvAG0AcAA%2BAAoAPAAvAHQAZQBtAHAAbABhAHQAZQA%2BAAoACgA8AHMAYwByAGkAcAB0ACAAbABhAG4AZwA9ACIAdABzAHgAIgAgAHMAZQB0AHUAcAA%2BAAoAIAAgAGMAbwBuAHMAdAAgAEMAbwBtAHAAIAA9ACAAKAApACAAPQA%2BACAAewAKACAAIAAgACAAcgBlAHQAdQByAG4AIAA8AGQAaQB2AD4APAAvAGQAaQB2AD4ACgAgACAAfQAKADwALwBzAGMAcgBpAHAAdAA%2BAA%3D%3D&language=vue
Expected result
It should not throw errors.
Code of Conduct