dependabot-bot's Description of Work
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";
<!-- raw HTML omitted -->
... (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.
<!-- raw HTML omitted -->
... (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
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 rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)