Merge the installed files into the existing top-level plugins array. For the default
destination, add all of these paths without removing existing plugins:
[
"./tools/biome/anti-slop/rules/no-chained-type-assertions.grit",
"./tools/biome/anti-slop/rules/no-conditional-empty-object-spread.grit",
"./tools/biome/anti-slop/rules/no-known-value-widening.grit",
"./tools/biome/anti-slop/rules/no-module-mocking.grit",
"./tools/biome/anti-slop/rules/no-object-parameters.grit",
"./tools/biome/anti-slop/rules/no-reflect-apply.grit",
"./tools/biome/anti-slop/rules/no-reflect-get.grit",
"./tools/biome/anti-slop/rules/no-runtime-typeof.grit",
"./tools/biome/anti-slop/rules/no-shape-in-symbol-names.grit",
"./tools/biome/anti-slop/rules/no-unknown-returns.grit",
"./tools/biome/anti-slop/rules/no-unknown-type-aliases.grit",
"./tools/biome/anti-slop/rules/no-unsafe-dictionary-type.grit"
]
Preserve every existing configuration field. Also enable these native Biome rules at error
severity, merging them into their existing groups:
{
"linter": {
"rules": {
"complexity": {
"noBannedTypes": "error",
"noUselessTypeConstraint": "error"
},
"nursery": {
"noMisleadingReturnType": "error",
"noUnsafeTypeAssertion": "error",
"useReduceTypeParameter": "error"
},
"style": {
"noNonNullAssertion": "error",
"useAsConstAssertion": "error"
},
"suspicious": { "noExplicitAny": "error" }
}
}
Confirm all eight rule names and their current groups with the installed Biome binary before
editing configuration. The groups above are correct for Biome 2.5.9; if biome explain reports
that a later compatible 2.x release promoted a nursery rule, use its reported stable group. Stop
if any rule is unavailable rather than writing an invalid configuration.
If one of these rules already uses object configuration, preserve its options and change only
its level to error. If linter.enabled is explicitly false, stop and ask before enabling
it. Add the vendored anti-slop directory to
files.includes as a negated pattern so routine checks do not reformat vendored rules. Also add
negated patterns for project-local agent tooling directories that actually exist, such as
.agents or .codex; do not ignore all dot-directories. If no Biome configuration exists,
create a minimal one with the local schema, the plugin list, and those file exclusions.