suspicious/useRequiredScripts
suspicious · since 2.3.9
No autofix
biome.json
{
"linter": {
"rules": {
"suspicious": {
"useRequiredScripts": "error"
}
}
}
}{
"scripts": {
"test": "vitest"
}
}{
"scripts": {
"test": "vitest",
"build": "tsc"
}
}Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
suspicious/useRequiredScripts
suspicious · since 2.3.9
{
"linter": {
"rules": {
"suspicious": {
"useRequiredScripts": "error"
}
}
}
}Discard redundant terms from logical expressions.
Require one executable GraphQL definition per file.
Use static Response methods instead of new Response() constructor when possible.
Enforce the sorting of Tailwind CSS classes.