Skip to content

Commit 85322b2

Browse files
committed
[bugfix] fixed missing kebab-case for ConfigLintStyle
1 parent 0612c6f commit 85322b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bin/lint.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ const DEFAULT_STYLE: LintStyle = LintStyle {
2828
};
2929

3030
#[derive(Default, Serialize, Deserialize)]
31+
#[serde(rename_all = "kebab-case")]
3132
struct ConfigLintStyle {
3233
colon_after_label: Option<bool>,
3334
label_style: Option<CaseStyle>,

0 commit comments

Comments
 (0)