suspicious/noDuplicateDependencies
suspicious · since 2.2.4
No autofix
biome.json
{
"linter": {
"rules": {
"suspicious": {
"noDuplicateDependencies": "error"
}
}
}
}{
"dependencies": {
"foo": "1.0.0",
"foo": "2.0.0"
}
}{
"bundleDependencies": ["foo", "foo"]
}{
"dependencies": {
"foo": "2.0.0"
}
}{
"bundleDependencies": ["foo"]
}Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
suspicious/noDuplicateDependencies
suspicious · since 2.2.4
{
"linter": {
"rules": {
"suspicious": {
"noDuplicateDependencies": "error"
}
}
}
}Require unique operation names within a GraphQL document.
Disallow variables from evolving into any type through reassignments.