correctness/noInvalidPositionAtImportRule
correctness · since 1.8.0
No autofixRecommended
biome.json
{
"linter": {
"rules": {
"correctness": {
"noInvalidPositionAtImportRule": "error"
}
}
}
}a {}
@import 'foo.css';@import 'foo.css';
a {}Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
correctness/noInvalidPositionAtImportRule
correctness · since 1.8.0
{
"linter": {
"rules": {
"correctness": {
"noInvalidPositionAtImportRule": "error"
}
}
}
}Disallow invalid named areas in CSS grid templates.
Checks that the initial-value of an @property rule follows the value format declared by its syntax.
Disallow non-standard directions in linear gradients.
Disallow unsafe JSON values that may cause interoperability issues.
Disallow !important in @keyframes declarations.