suspicious/noDuplicateAtImportRules
suspicious · since 1.8.0
No autofixRecommended
biome.json
{
"linter": {
"rules": {
"suspicious": {
"noDuplicateAtImportRules": "error"
}
}
}
}@import 'a.css';
@import 'a.css';@import "a.css";
@import 'a.css';@import url('a.css');
@import url('a.css');@import 'a.css';
@import 'b.css';@import url('a.css') tv;
@import url('a.css') projection;Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
suspicious/noDuplicateAtImportRules
suspicious · since 1.8.0
{
"linter": {
"rules": {
"suspicious": {
"noDuplicateAtImportRules": "error"
}
}
}
}Require unique argument names for fields and directives.
Disallow duplicate custom properties within declaration blocks.
Require .where() to be called when using .update() with Drizzle ORM.
Disallow duplicate names in GraphQL enums.
Require .where() to be called when using .delete() with Drizzle ORM.
Require all fields of a type to be unique.