Bumps @biomejs/biome from 2.3.15 to 2.4.3.
Release notes
Sourced from @biomejs/biome's releases.
Biome CLI v2.4.3
2.4.3
Patch Changes
#9120
aa40fc2Thanks@ematipico! - Fixed #9109, where the GitHub reporter wasn't correctly enabled whenbiome ciruns on GitHub Actions.#9128
8ca3f7fThanks@dyc3! - Fixed #9107: The HTML parser can now correctly parse Astro directives (client/set/class/is/server), which fixes the formatting for Astro directives.#9124
f5b0e8dThanks@ematipico! - Fixed #8882 and #9108: The Astro frontmatter lexer now correctly identifies the closing---fence when the frontmatter contains multi-line block comments with quote characters, strings that mix quote types (e.g."it's"), or escaped quote characters (e.g."\").#9142
3ca066bThanks@THernandez03! - Fixed #9141: ThenoUnknownAttributerule no longer reportsclosedbyas an unknown attribute on<dialog>elements.#9126
792013eThanks@ematipico! - Added missing Mocha globals to theTestdomain:context,run,setup,specify,suite,suiteSetup,suiteTeardown,teardown,xcontext,xdescribe,xit, andxspecify. These are injected by Mocha's BDD and TDD interfaces and were previously flagged as undeclared variables in projects using Mocha.#8855
6918c9eThanks@ruidosujeira! - Fixed #8840. Now the Biome CSS parser correctly parsesnot + scroll-stateinside@containerqueries.#9111
4fb55cfThanks@Jayllyz! - Slightly improved performance ofnoIrregularWhitespaceby adding early return optimization and simplifying character detection logic.#8975
086a0c5Thanks@FrankFMY! - Fixed #8478:useDestructuringno longer suggests destructuring when the variable has a type annotation, likeconst foo: string = object.foo.What's Changed
- perf(lint): optimize noIrregularWhitespace rule by
@Jayllyzin biomejs/biome#9111- fix(cli): use github reporter in github actions env by
@ematipicoin biomejs/biome#9120- fix: add more globals for mocha by
@ematipicoin biomejs/biome#9126- fix(parse/html): astro fence by
@ematipicoin biomejs/biome#9124- fix(linter): skip useDestructuring for variables with type annotations by
@FrankFMYin biomejs/biome#8975- fix(parser): accept scroll-state(...) in
@containernot queries by@ruidosujeirain biomejs/biome#8855- fix(noUnknownAttribute): add
closedbyas a valid attribute for<dialog>by@THernandez03in biomejs/biome#9142- feat(parse/html): parse astro directives by
@dyc3in biomejs/biome#9128- ci: release by
@github-actions[bot] in biomejs/biome#9116New Contributors
@THernandez03made their first contribution in biomejs/biome#9142Full Changelog: https://github.com/biomejs/biome/compare/
@biomejs/biome@2.4.2...@biomejs/biome@2.4.3Biome CLI v2.4.2
2.4.2
Patch Changes
... (truncated)
Changelog
Sourced from @biomejs/biome's changelog.
2.4.3
Patch Changes
#9120
aa40fc2Thanks@ematipico! - Fixed #9109, where the GitHub reporter wasn't correctly enabled whenbiome ciruns on GitHub Actions.#9128
8ca3f7fThanks@dyc3! - Fixed #9107: The HTML parser can now correctly parse Astro directives (client/set/class/is/server), which fixes the formatting for Astro directives.#9124
f5b0e8dThanks@ematipico! - Fixed #8882 and #9108: The Astro frontmatter lexer now correctly identifies the closing---fence when the frontmatter contains multi-line block comments with quote characters, strings that mix quote types (e.g."it's"), or escaped quote characters (e.g."\").#9142
3ca066bThanks@THernandez03! - Fixed #9141: ThenoUnknownAttributerule no longer reportsclosedbyas an unknown attribute on<dialog>elements.#9126
792013eThanks@ematipico! - Added missing Mocha globals to theTestdomain:context,run,setup,specify,suite,suiteSetup,suiteTeardown,teardown,xcontext,xdescribe,xit, andxspecify. These are injected by Mocha's BDD and TDD interfaces and were previously flagged as undeclared variables in projects using Mocha.#8855
6918c9eThanks@ruidosujeira! - Fixed #8840. Now the Biome CSS parser correctly parsesnot + scroll-stateinside@containerqueries.#9111
4fb55cfThanks@Jayllyz! - Slightly improved performance ofnoIrregularWhitespaceby adding early return optimization and simplifying character detection logic.#8975
086a0c5Thanks@FrankFMY! - Fixed #8478:useDestructuringno longer suggests destructuring when the variable has a type annotation, likeconst foo: string = object.foo.2.4.2
Patch Changes
#9103
fc9850cThanks@dyc3! - Fixed #9098:useImportTypeno longer incorrectly flags imports used in Svelte control flow blocks ({#if},{#each},{#await},{#key}) as type-only imports.#9106
f4b7296Thanks@dyc3! - Updated rule source metadata for rules fromhtml-eslint.#8960
4a5ff40Thanks@abossenbroek! - Added the nursery rulenoConditionalExpect. This rule disallows conditionalexpect()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"); } });#8960
4a5ff40Thanks@abossenbroek! - Added the nursery rulenoPlaywrightElementHandle. Prefers locators to element handles.const el = await page.$(".btn");
... (truncated)
Commits
312b6dbci: release (#9116)b99e7dbci: release (#9104)4a5ff40feat(lint): add Playwright ESLint rules (#8960)5153f2fci: release (#9094)4cc531cchore: docs that break website (#9077)bf6e5f9ci: release (#9045)e014336feat: promote rules for v2.4 (#9011)7e33fd5Merge remote-tracking branch 'origin/main' into nextdc1f94efeat(assist): add noDuplicateClasses assist action (#8623)0353fa0feat(useHookAtTopLevel): addignoreoption (#8964)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
Security
View full report