suspicious/noUntrustedLicenses
suspicious · since 2.4.9
{
"linter": {
"rules": {
"suspicious": {
"noUntrustedLicenses": "error"
}
}
}
}{
"dependencies": {
"untrusted-pkg": "^1.0.0"
}
}{
"devDependencies": {
"no-license-pkg": "^1.0.0"
}
}{
"dependencies": {
"trusted-pkg": "^1.0.0"
}
}Examples from the Biome documentation.
No tracked preset enables this rule, so it has no reach yet.
None of the tracked presets enable this rule. Turn it on with the config below.
ESLint does not have this rule.
Oxlint does not have this rule.
suspicious/noUntrustedLicenses
suspicious · since 2.4.9
{
"linter": {
"rules": {
"suspicious": {
"noUntrustedLicenses": "error"
}
}
}
}Disallow TypeScript type assertions other than const assertions.
Reports CSS class selectors that are never referenced in any JSX or HTML file.
Reports custom properties used with var() that have no visible declaration.
Require a value for Astro's client:only directive.
Reports CSS class names in JSX className or class attributes that are not defined in any imported CSS file.