diff --git a/crates/biome_configuration/src/linter/rules.rs b/crates/biome_configuration/src/linter/rules.rs index 44b3a75c895c..a8f9afa3af6a 100644 --- a/crates/biome_configuration/src/linter/rules.rs +++ b/crates/biome_configuration/src/linter/rules.rs @@ -3042,6 +3042,7 @@ impl Nursery { "noLabelWithoutControl", "noShorthandPropertyOverrides", "noUnknownFunction", + "noUnknownProperty", "noUnknownPseudoClassSelector", "noUnknownSelectorPseudoElement", "noUnknownUnit", @@ -3064,6 +3065,7 @@ impl Nursery { RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[12]), RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[16]), RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[19]), + RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[21]), RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[22]), RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[23]), RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[24]), diff --git a/crates/biome_css_analyze/src/lint/nursery/no_unknown_property.rs b/crates/biome_css_analyze/src/lint/nursery/no_unknown_property.rs index 24f8a2b463fa..e30ec54b2e94 100644 --- a/crates/biome_css_analyze/src/lint/nursery/no_unknown_property.rs +++ b/crates/biome_css_analyze/src/lint/nursery/no_unknown_property.rs @@ -1,4 +1,4 @@ -use biome_analyze::{context::RuleContext, declare_rule, Ast, Rule, RuleDiagnostic}; +use biome_analyze::{context::RuleContext, declare_rule, Ast, Rule, RuleDiagnostic, RuleSource}; use biome_console::markup; use biome_css_syntax::CssGenericProperty; use biome_rowan::{AstNode, TextRange}; @@ -57,7 +57,8 @@ declare_rule! { version: "1.8.0", name: "noUnknownProperty", language: "css", - recommended: false, + recommended: true, + sources: &[RuleSource::Stylelint("property-no-unknown")], } }