Replies: 1 comment 4 replies
-
Biome supports for Svelte only partially, check language support section for more. Specifically it does not check templates, only script blocks. You should disable these rules on svelte files. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environment information
Rule name
biomelint/style/useConst - biomelint/style/useImportType
Playground link
https://github.com/olafurw/biome-svelte-issues
Expected result
I started to move our platform to use Biome but I got these conflicting reports where Biome would be unhappy about something but if I fixed it then Svelte would complain.
So I decided to collect the issues I've found in a little repo. If you clone the repo, it should be enough to
npm install
andnpm run full
to see the errors.Here is one of the issues in the repo, where Svelte and Biome are conflicted about how the
import
of an Enum type is used.I saw that do know about the
useConst
regarding theexport let
, which is fine but thebind
case is one that I did not find a solution to.Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions