Biome lead here, so feel free to ask anything!
Biome is an integrated linter and formatter with support for JavaScript, TypeScript, CSS, and more.
Highlights of the release:
- Plugins: You can write custom lint rules using GritQL.
- Domains: Domains help to group lint rules by technology, framework, or well, domain. Thanks to domains, your default set of recommended lint rules will only include those that are relevant to your project.
- Multi-file analysis: Lint rules can now apply analysis based on information from other files, enabling rules such as noImportCycles.
noFloatingPromises
: Still a proof-of-concept, but our first type-aware lint rule is making an appearance.
- Our Import Organizer has seen a major revamp.
- Assists: Biome Assist can provide actions without diagnostics, such as sorting object keys.
- Improved suppressions: Suppress a rule in an entire file using
// biome-ignore-all
, or suppress a range using // biome-ignore-start
and // biome-ignore-end
.
- HTML formatter: Still in preview, this is the first time we ship an HTML formatter.
- Many, many, fixes, new lint rules, and other improvements.
Haha, sure thing!
So, today, TurboPascal isn’t a very popular programming language anymore. But that’s okay! We have new programming languages nowadays. Some of the popular languages that we use today include JavaScript, TypeScript and CSS. You don’t need to know much about these languages, except that they’re commonly used for creating websites and apps that run on the web.
Now, assume you want to create a website or a webapp, and you were to learn these languages for that purpose. In that case you have quite a learning experience ahead of you, which is great! Learning can be fun! But what’s not so great is that these languages have lots of room to make mistakes. Now, everyone makes mistakes, that’s just a fact of life, but when mistakes can be avoided, that’s generally preferred.
This is where Biome comes in: It is a tool – we call it a linter – that helps you to detect many kinds of common mistakes. It can show you where these mistakes are, and sometimes even fix them for you. It can also show you possible mistakes, things that are not necessarily a mistake, but things that look suspicious.
And on top of that, Biome offers you another tool: It’s called a formatter. When you write your code, it automatically takes care for you that the code looks consistent. So it fixes things like indentation and other use of whitespace for you, as well as where to place your parentheses and stuff like that.
Together, hopefully these two things can make your programming experience a little bit more enjoyable. Cheers!