Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
@biomejs/biome
Advanced tools
English | 简体中文 | 日本語 | Português do Brasil
Biome is a performant toolchain for web projects, it aims to provide developer tools to maintain the health of said projects.
Biome is a fast formatter for JavaScript, TypeScript, JSX, and JSON that scores 97% compatibility with Prettier.
Biome is a performant linter for JavaScript, TypeScript, and JSX that features more than 200 rules from ESLint, typescript-eslint, and other sources. It outputs detailed and contextualized diagnostics that help you to improve your code and become a better programmer!
Biome is designed from the start to be used interactively within an editor. It can format and lint malformed code as you are writing it.
npm install --save-dev --save-exact @biomejs/biome
# format files
npx @biomejs/biome format --write ./src
# lint files
npx @biomejs/biome lint ./src
# run format, lint, etc. and apply the safe suggestions
npx @biomejs/biome check --apply ./src
# check all files against format, lint, etc. in CI environments
npx @biomejs/biome ci ./src
If you want to give Biome a run without installing it, use the online playground, compiled to WebAssembly.
Check out our homepage to learn more about Biome, or directly head to the Getting Started guide to start using Biome.
Biome has sane defaults and it doesn't require configuration.
Biome aims to support all main languages of modern web development.
Biome doesn't require Node.js to function.
Biome has first-class LSP support, with a sophisticated parser that represents the source text in full fidelity and top-notch error recovery.
Biome unifies functionality that has previously been separate tools. Building upon a shared base allows us to provide a cohesive experience for processing code, displaying errors, parallelize work, caching, and configuration.
Read more about our project philosophy.
Biome is MIT licensed or Apache 2.0 licensed and moderated under the Contributor Covenant Code of Conduct.
You can fund the project in different ways
You can sponsor or fund the project via Open collective or GitHub sponsors
Biome offers a simple sponsorship program that allows companies to get visibility and recognition among various developers.
We use Polar.sh to up-vote and promote specific features that you would like to see and implement. Check our backlog and help us:
1.6.2 (2024-03-22)
The noSuperWithoutExtends
rule now allows for calling super()
in derived class constructors of class expressions (#2108). Contributed by @Sec-ant
Fix discrepancies on file source detection. Allow module syntax in .cts
files (#2114). Contributed by @Sec-ant
Fixes #2131, where folders were incorrectly ignored when running the command check
. Now folders are correctly ignored based on their command. Contributed by @ematipico
Smoother handling of "endOfLine": "auto"
in prettier migration: falling back to "lf"
(#2145). Contributed by @eMerzh
all
and recommend
presets in top-level and group-level configs is now correctly respected. More details can be seen in (#2072) (#2028). Contributed by @Sec-antlintContent
method of the Biome
class (#1956). Contributed by @mnahkiesRule noUndeclaredDependencies
now also validates peerDependencies
and optionalDependencies
(#2122). Contributed by @Sec-ant
Rule noUndeclaredDependencies
won't check declare module
statements anymore (#2123). Contributed by @Sec-ant
Fix #1925. The fix for useOptionalChain
would sometimes suggest an incorrect fix that discarded optional chaining operators on the left-hand side of logical expressions. These are now preserved. Contributed by @arendjr
Rule noUndeclaredVariables
now also checks for worker globals (#2121). Contributed by @Sec-ant
Correctly parse .jsonc
files. Contributed by @Sec-ant
Correctly resolve external extends
configs. Contributed by @Sec-ant
FAQs
Biome is a toolchain for the web: formatter, linter and more
The npm package @biomejs/biome receives a total of 675,096 weekly downloads. As such, @biomejs/biome popularity was classified as popular.
We found that @biomejs/biome demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.