Biome, an ESLint/Prettier replacement?
ฝัง
- เผยแพร่เมื่อ 25 ก.ค. 2024
- After stumbling into Biome in the t3-env package, I was curious! In this video, I walk through installing and configuring Biome for the first time, testing out its commands, and ripping out ESLint and Prettier in an existing repository.
Biome:
biomejs.dev/
Follow me here:
x.com/kevinwwwade
0:00 - Intro
0:36 - What is Biome?
2:56 - Install and Configure Biome
4:41 - Testing Format Commands
6:00 - Configure Spaces Indent Style
8:01 - Testing Lint Command
8:43 - Configure Ignore Files
9:51 - Lint Results and Fixes
11:08 - Remove ESLint & Prettier
15:15 - Organize Imports Automatically
18:20 - Configure Formatter in VSCode
18:34 - Code Suggestions Demo
19:42 - Outro - วิทยาศาสตร์และเทคโนโลยี
Awesome video, exactly what I was looking for
gran video, necesitaba esta guia rapida 🙌🙌
Great video, fun stuff
I am waiting for them to add CSS and HTML support, to use it in my svelte projects.
I hope they do it soon.
That’s good to know that that’s not included yet. Thanks!
they should just let people write plugins, it wold go much faster
@@IStMlI think they are currently working on a plugin system
Diagnostics directly influenced by being written in Rust. These are the types of errors the Rust compiler spits out for you.
I'm very picky with my import ordering. I have eslint configured top to bottom, node native, third party, third party @scoped, then my @lib/**/* - each group in alphabetic order. I wonder if Biome allows for such fine-grained control, or if it's overly opinionated. Prettier's opinionated nature is why I never used it and left everything to eslint. This looks promising tho - I appreciate good documentation and DX.
no