From d1d4206ad0111667cc48dfd9da62c76c7ae91946 Mon Sep 17 00:00:00 2001 From: togami2864 Date: Fri, 19 Apr 2024 12:50:48 +0900 Subject: [PATCH] chore; gen-lint --- crates/biome_configuration/src/linter/rules.rs | 2 +- crates/biome_css_analyze/src/lint/nursery/no_css_empty_block.rs | 2 +- packages/@biomejs/backend-jsonrpc/src/workspace.ts | 2 +- packages/@biomejs/biome/configuration_schema.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/biome_configuration/src/linter/rules.rs b/crates/biome_configuration/src/linter/rules.rs index c755ba06a0c3..315debd03366 100644 --- a/crates/biome_configuration/src/linter/rules.rs +++ b/crates/biome_configuration/src/linter/rules.rs @@ -2656,7 +2656,7 @@ pub struct Nursery { #[doc = "Disallow the use of Math.min and Math.max to clamp a value where the result itself is constant."] #[serde(skip_serializing_if = "Option::is_none")] pub no_constant_math_min_max_clamp: Option>, - #[doc = "Disallow css empty blocks."] + #[doc = "Disallow CSS empty blocks."] #[serde(skip_serializing_if = "Option::is_none")] pub no_css_empty_block: Option>, #[doc = "Disallow using a callback in asynchronous tests and hooks."] diff --git a/crates/biome_css_analyze/src/lint/nursery/no_css_empty_block.rs b/crates/biome_css_analyze/src/lint/nursery/no_css_empty_block.rs index 457519591e9d..09e1a1c6baa1 100644 --- a/crates/biome_css_analyze/src/lint/nursery/no_css_empty_block.rs +++ b/crates/biome_css_analyze/src/lint/nursery/no_css_empty_block.rs @@ -46,7 +46,7 @@ declare_rule! { /// /// ## Options /// - /// Exclude comments from being treated as content inside of a block. + /// If false, exclude comments from being treated as content inside of a block. /// /// ```json /// { diff --git a/packages/@biomejs/backend-jsonrpc/src/workspace.ts b/packages/@biomejs/backend-jsonrpc/src/workspace.ts index c0b5fe1fd11b..9702355d60b5 100644 --- a/packages/@biomejs/backend-jsonrpc/src/workspace.ts +++ b/packages/@biomejs/backend-jsonrpc/src/workspace.ts @@ -921,7 +921,7 @@ export interface Nursery { */ noConstantMathMinMaxClamp?: RuleConfiguration_for_Null; /** - * Disallow css empty blocks. + * Disallow CSS empty blocks. */ noCssEmptyBlock?: RuleConfiguration_for_NoCssEmptyBlockOptions; /** diff --git a/packages/@biomejs/biome/configuration_schema.json b/packages/@biomejs/biome/configuration_schema.json index d57076d4dce4..3520a460b919 100644 --- a/packages/@biomejs/biome/configuration_schema.json +++ b/packages/@biomejs/biome/configuration_schema.json @@ -1455,7 +1455,7 @@ ] }, "noCssEmptyBlock": { - "description": "Disallow css empty blocks.", + "description": "Disallow CSS empty blocks.", "anyOf": [ { "$ref": "#/definitions/NoCssEmptyBlockConfiguration" }, { "type": "null" }