suspicious/useBiomeIgnoreFolder
suspicious · since 2.2.0
Safe autofixRecommended
biome.json
{
"linter": {
"rules": {
"suspicious": {
"useBiomeIgnoreFolder": "error"
}
}
}
}Prefer folder exclusions that prevent Biome from scanning the folder.
{
"files": {
"includes": ["**", "!dist/**", "!**/dist/**"]
}
}{
"files": {
"includes": ["**", "!dist", "!**/dist"]
}
}Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
suspicious/useBiomeIgnoreFolder
suspicious · since 2.2.0
{
"linter": {
"rules": {
"suspicious": {
"useBiomeIgnoreFolder": "error"
}
}
}
}Require kind sets instead of comparing kind names one by one in Biome JS plugins.
Require kind sets in Biome JS plugins to be created at the top level of the module.
Disallow returning a value from a function with the return type 'void'
Enforce JSON keys with consistent Unicode representation.