nursery/noSvelteBindValueOnCheckableInputs
nursery · since 2.6.5
Unsafe autofixRecommended
biome.json
{
"linter": {
"rules": {
"nursery": {
"noSvelteBindValueOnCheckableInputs": "error"
}
}
}
}Disallow bind:value on checkbox and radio inputs.
<input type="checkbox" bind:value={accepted} /><input type="radio" bind:value={size} /><input type="checkbox" bind:checked={accepted} />
<input type="checkbox" value="cheese" bind:group={toppings} />
<input type="radio" value="small" bind:group={size} />
<input type="text" bind:value={name} />Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
nursery/noSvelteBindValueOnCheckableInputs
nursery · since 2.6.5
{
"linter": {
"rules": {
"nursery": {
"noSvelteBindValueOnCheckableInputs": "error"
}
}
}
}Disallow declaring Svelte component props with export let.
Disallow passing async functions to Svelte stores.