Skip to content

Commit

Permalink
choer: gen-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
togami2864 committed Sep 12, 2024
1 parent 6eb37d1 commit bc5537b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
4 changes: 3 additions & 1 deletion crates/biome_configuration/src/analyzer/linter/rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3301,7 +3301,7 @@ pub struct Nursery {
#[serde(skip_serializing_if = "Option::is_none")]
pub no_irregular_whitespace:
Option<RuleConfiguration<biome_css_analyze::options::NoIrregularWhitespace>>,
#[doc = "Succinct description of the rule."]
#[doc = "Disallow missing var function for css variables."]
#[serde(skip_serializing_if = "Option::is_none")]
pub no_missing_var_function:
Option<RuleConfiguration<biome_css_analyze::options::NoMissingVarFunction>>,
Expand Down Expand Up @@ -3428,6 +3428,7 @@ impl Nursery {
"noDuplicateCustomProperties",
"noDuplicateElseIf",
"noDuplicatedFields",
"noMissingVarFunction",
"noUnknownPseudoClass",
"noUnknownPseudoElement",
"noUselessEscapeInRegex",
Expand All @@ -3440,6 +3441,7 @@ impl Nursery {
RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[1]),
RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[2]),
RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[3]),
RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[8]),
RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[14]),
RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[15]),
RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[16]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ declare_lint_rule! {
/// Disallow missing var function for css variables.
///
/// This rule has the following limitations:
/// - It only reports custom properties that are defined within the same source.
/// - It does not check properties that can contain author-defined identifiers. It ignores the following
/// - It only reports custom properties that are defined and accesible within the same source.
/// - It does not check properties that can contain author-defined identifiers.
/// - It ignores the following properties:
/// - `animation`
/// - `animation-name`
/// - `counter-increment`
Expand All @@ -29,7 +30,6 @@ declare_lint_rule! {
/// - `view-transition-name`
/// - `will-change`
///
///
/// ## Examples
///
/// ### Invalid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ a {
color: --gggg;
}


/* case 9 */
.parent {
--foo: red;
Expand Down
2 changes: 1 addition & 1 deletion packages/@biomejs/backend-jsonrpc/src/workspace.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/@biomejs/biome/configuration_schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bc5537b

Please sign in to comment.