unicorn/no-unknown-css-annotations
eslint-plugin-unicorn
import unicorn from "eslint-plugin-unicorn";
export default [
{
plugins: { unicorn },
rules: {
"unicorn/no-unknown-css-annotations": "error",
},
},
];This rule is deprecated. Check its documentation for a replacement before enabling it.
Moved to eslint-cssicorn as cssicorn/no-unknown-annotations.
No code example for this rule
The linters' documentation does not include one we could extract.
No tracked preset enables this rule, so it has no reach yet.
None of the tracked presets enable this rule. Turn it on with the config below.
unicorn/no-unknown-css-annotations
eslint-plugin-unicorn
import unicorn from "eslint-plugin-unicorn";
export default [
{
plugins: { unicorn },
rules: {
"unicorn/no-unknown-css-annotations": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Disallow repeating the same wrapper at every call to a function.
Disallow arguments that match their parameter defaults.
Disallow references to missing local resources.