Suositut: Tiedot päivitetty 27. lokakuuta 2026

Kategoriat

Internet1 356
Viestintä321
Ääni ja video898
Grafiikka ja suunnittelu539
Toimisto ja tuottavuus1 124
Kehitystyökalut3 134
Tekoälytyökalut529
Tietoturva ja yksityisyys385
Järjestelmätyökalut3 114
Pelit523
Opiskelu ja tiede239
Verkko ja IT284

Lataa Biome 2.4.2

Biome is a toolchain for web projects, aimed at providing functionalities to maintain them. It offers a formatter and linter, usable via CLI and LSP.

BiomeJS Kehittäjän apuohjelmat #9 Kehittäjän apuohjelmat
Tämä on vanhempi versio. Uusin versio on 2.6.3. Biome 2.6.3 · Julkaistu:

Asennustiedostot 2.4.2

ArkkitehtuuriTyyppiLaajuusTiedostokokoLatausSHA256
64-bittinen Portable — — github.com VirusTotal
ARM64 Portable — — github.com VirusTotal

Linkki ja SHA256-tiiviste ovat peräisin Windows Package Managerin yhteisön manifestista. Vertaa ladatun tiedoston tiivistettä ennen kuin suoritat sen.

Muutosloki

2.4.2
Patch Changes
- #9103 fc9850c Thanks @dyc3! - Fixed #9098: useImportType no longer incorrectly flags imports used in Svelte control flow blocks ({#if}, {#each}, {#await}, {#key}) as type-only imports.
- #9106 f4b7296 Thanks @dyc3! - Updated rule source metadata for rules from html-eslint.
- #8960 4a5ff40 Thanks @abossenbroek! - Added the nursery rule noConditionalExpect. This rule disallows conditional expect() calls inside tests, which can lead to tests that silently pass when assertions never run.
// Invalid - conditional expect may not run
test("conditional", async ({ page }) => {
if (someCondition) {
await expect(page).toHaveTitle("Title");
}
});
// Valid - unconditional expect
test("unconditional", async ({ page }) => {
await expect(page).toHaveTitle("Title");
});
- #8960 4a5ff40 Thanks @abossenbroek! - Added the nursery rule noPlaywrightElementHandle. Prefers locators to element handles.
const el = await page.$(".btn");
- #8960 4a5ff40 Thanks @abossenbroek! - Added the nursery rule noPlaywrightEval. Disallows page.$eval() and page.$$eval() methods.
await page.$eval(".btn", (el) => el.textContent);
- #8960 4a5ff40 Thanks @abossenbroek! - Added the nursery rule noPlaywrightForceOption. Disallows the force option on user interactions.
await locator.click({ force: true });
- #8960 4a5ff40 Thanks @abossenbroek! - Added the nursery rule noPlaywrightMissingAwait. Enforces awaiting async Playwright APIs.
const el = page.locator(".btn");
el.click(); // Missing await
- #8960 4a5ff40 Thanks @abossenbroek! - Added the nursery rule noPlaywrightNetworkidle. Disallows deprecated networkidle wait option.
await page.goto(url, { waitUntil: "networkidle" });
- #8960 4a5ff40 Thanks @abossenbroek! - Added the nursery rule noPlaywrightPagePause. Disallows page.pause() debugging calls in committed code.
await page.pause();
- #8960 4a5ff40 Thanks @abossenbroek! - Added the nursery rule noPlaywrightUselessAwait. Disallows unnecessary await on synchronous Playwright methods.
// Incorrect - locator() is synchronous
const loc = await page.locator(".btn");
- #8960 4a5ff40 Thanks @abossenbroek! - Added the nursery rule noPlaywrightWaitForNavigation. Prefers modern navigation APIs over deprecated waitForNavigation().
await page.waitForNavigation();
- #8960 4a5ff40 Thanks @abossenbroek! - Added the nursery rule noPlaywrightWaitForSelector. Prefers locators over deprecated waitForSelector().
await page.waitForSelector(".btn");
- #8960 4a5ff40 Thanks @abossenbroek! - Added the nursery rule noPlaywrightWaitForTimeout. Disallows hard-coded timeouts with waitForTimeout().
await page.waitForTimeout(5000);
- #8960 4a5ff40 Thanks @abossenbroek! - Enhanced noSkippedTests to detect Playwright patterns (.fixme, test.describe, test.step, bracket notation, bare calls). Consolidated noPlaywrightSkippedTest into this rule.
- #9101 0c0fb6f Thanks @siketyan! - Fixed #9080: The noUnusedVariables rule no longer reports a top-level Props interface or type alias as unused in Astro files.
- #8960 4a5ff40 Thanks @abossenbroek! - Added the nursery rule useExpect. This rule ensures that test functions contain at least one expect() assertion.
// Invalid - test without assertion
test("no assertion", async ({ page }) => {
await page.goto("/");
});
// Valid - test with assertion
test("has assertion", async ({ page }) => {
await expect(page).toHaveTitle("Title");
});
- #8960 4a5ff40 Thanks @abossenbroek! - Added the nursery rule usePlaywrightValidDescribeCallback. Validates that describe callback signatures are not async.
test.describe("suite", async () => {});
What's Changed
- fix(lint): don't report Props interface as unused in Astro files by @siketyan in #9101
- fix(service): parse text expressions in svelte control flow blocks by @dyc3 in #9103
- feat(migrate): more metadata for rules from html-eslint by @dyc3 in #9106
- feat(lint): add Playwright ESLint rules by @abossenbroek in #8960
- ci: release by @github-actions[bot] in #9104
New Contributors
- @abossenbroek made their first contribution in #8960
Full Changelog: https://github.com/biomejs/biome/compare/@biomejs/biome@2.4.1...@biomejs/biome@2.4.2

https://github.com/biomejs/biome/releases/tag/@biomejs/biome@2.4.2

Suosituin kategoriassa Kehittäjän apuohjelmat

Näytä kaikki
  1. WinMergeKehittäjän apuohjelmat · Thingamahoochie Software
  2. jqKehittäjän apuohjelmat · jqlang
  3. x64dbgKehittäjän apuohjelmat · x64dbg
  4. BiomeKehittäjän apuohjelmat · BiomeJS
  5. deltaKehittäjän apuohjelmat · Dan Davison
  6. ValeKehittäjän apuohjelmat · errata.ai
  7. jadxKehittäjän apuohjelmat · Skylot
  8. dnSpyKehittäjän apuohjelmat · dnSpyEx
  9. Detect It EasyKehittäjän apuohjelmat · horsicq
  10. DifftasticKehittäjän apuohjelmat · Wilfred Hughes

Tunnisteet

Jaa