diff --git a/crates/oxc_linter/src/rules/eslint/max_lines_per_function.rs b/crates/oxc_linter/src/rules/eslint/max_lines_per_function.rs index 6535967b28fd7..038d84a133681 100644 --- a/crates/oxc_linter/src/rules/eslint/max_lines_per_function.rs +++ b/crates/oxc_linter/src/rules/eslint/max_lines_per_function.rs @@ -41,6 +41,7 @@ pub struct MaxLinesPerFunctionConfig { /// The `IIFEs` option controls whether IIFEs are included in the line count. /// By default, IIFEs are not considered, but when set to `true`, they will /// be included in the line count for the function. + #[serde(rename = "IIFEs")] iifes: bool, }