build(deps-dev): bump @biomejs/biome from 2.5.14 to 2.5.15
Bumps @biomejs/biome from 2.5.14 to 2.5.15.
Release notes
Sourced from @biomejs/biome's releases.
Biome CLI v2.5.15
2.5.15
Patch Changes
#10634
b436ba0Thanks@subaru-hello! - Added the new nursery rulenoReactObjectTypeAsDefaultProp, which disallows array, object, and function values as default props in React components.For example, the following snippet triggers the rule.
function Component({ items = [] }) { return items; }#11956
faa8b37Thanks@dyc3! - Added the nursery rulenoSvelteExportLet, which disallows declaring Svelte component props with the legacyexport letsyntax. Use the$props()rune instead.<script> export let name; </script>#10816
1b9479eThanks@Th3S4mur41! - Added a new nursery ruleuseLogicalPropertiesthat enforces the use of logical properties in CSS, promoting better internationalization and accessibility practices. The rule supports adirectionoption with"ltr"as the default and"rtl"as the alternative. This is a first rule covering parts of #9034{ "linter": { "rules": { "nursery": { "useLogicalProperties": { "level": "warn", "options": { "direction": "rtl" } } } } } }#11960
1fdb5c2Thanks@dyc3! - Added the nursery ruleuseSvelteKitRuneImports, which reports imports from the deprecated$app/storesmodule and suggests$app/stateinstead.import { page } from "$app/stores";
... (truncated)
Changelog
Sourced from @biomejs/biome's changelog.
2.5.15
Patch Changes
#10634
b436ba0Thanks@subaru-hello! - Added the new nursery rulenoReactObjectTypeAsDefaultProp, which disallows array, object, and function values as default props in React components.For example, the following snippet triggers the rule.
function Component({ items = [] }) { return items; }#11956
faa8b37Thanks@dyc3! - Added the nursery rulenoSvelteExportLet, which disallows declaring Svelte component props with the legacyexport letsyntax. Use the$props()rune instead.<script> export let name; </script>#10816
1b9479eThanks@Th3S4mur41! - Added a new nursery ruleuseLogicalPropertiesthat enforces the use of logical properties in CSS, promoting better internationalization and accessibility practices. The rule supports adirectionoption with"ltr"as the default and"rtl"as the alternative. This is a first rule covering parts of #9034{ "linter": { "rules": { "nursery": { "useLogicalProperties": { "level": "warn", "options": { "direction": "rtl" } } } } } }#11960
1fdb5c2Thanks@dyc3! - Added the nursery ruleuseSvelteKitRuneImports, which reports imports from the deprecated$app/storesmodule and suggests$app/stateinstead.import { page } from "$app/stores";#11723
3b429d1Thanks@m1handr! - Fixed #11656:noAstroSetHtmlDirectivenow correctly reportsset:htmldirectives inside Astro template expressions.
... (truncated)
Commits
0b4c11fci: release (#11815)ad5b362feat: addsnoAstroConflictingSetDirectivesrule for .astro (#11494)034366dchore: update codspeed logo in readme (#12019)717db8cfeat(lint): add noMisplacedListElements (#11917)089bde0feat(lint/js): add useStrictBooleanExpressions (#11750)1fdb5c2feat(lint/js/svelte): add useSvelteKitRuneImports lint rule (#11960)faa8b37feat(lint/js/svelte): add noSvelteExportLet (#11956)b2b4400chore: update sponsors (#11973)ff4c4ddfeat(lint/js): add noMeaninglessVoidOperator (#11732)1b9479efeat(lint): add useLogicalProperties rule (#10816)- Additional commits viewable in compare view