Skip to content

Commit

Permalink
feat: add a link to the spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Kazuhiro-Mimaki committed May 8, 2024
1 parent 736a09e commit e5ce4e0
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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::{
AnyCssMediaAndCombinableCondition, AnyCssMediaCondition, AnyCssMediaInParens,
Expand All @@ -14,6 +14,9 @@ declare_rule! {
///
/// This rule considers media feature names defined in the CSS Specifications, up to and including Editor's Drafts, to be known.
/// This rule also checks vendor-prefixed media feature names.
///
/// Data sources of known CSS media feature are:
/// - MDN reference on [CSS media feature](https://developer.mozilla.org/en-US/docs/Web/CSS/@media)
///
/// ## Examples
///
Expand Down Expand Up @@ -60,6 +63,7 @@ declare_rule! {
version: "next",
name: "noUnknownMediaFeatureName",
recommended: false,
sources: &[RuleSource::Stylelint("media-feature-name-no-unknown")],
}
}

Expand Down

0 comments on commit e5ce4e0

Please sign in to comment.