nursery/noSvelteInternal
nursery · since 2.6.3
No autofixRecommended
biome.json
{
"linter": {
"rules": {
"nursery": {
"noSvelteInternal": "error"
}
}
}
}import { get_current_component } from "svelte/internal";import { inspect } from "svelte/internal/client";export * from "svelte/internal/server";import { mount } from "svelte";
import { writable } from "svelte/store";Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
nursery/noSvelteInternal
nursery · since 2.6.3
{
"linter": {
"rules": {
"nursery": {
"noSvelteInternal": "error"
}
}
}
}Disallow objects, arrays, functions, and classes in Svelte text mustaches.
Disallow declaring Svelte component props with export let.
Disallow unnecessary $state wrapping of reactive classes.
Disallow $derived.by() when $derived() is sufficient.