Skip to content

Commit

Permalink
fix: add LintConfig::clone()
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato committed May 29, 2024
1 parent 1b6e0fc commit 0306733
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/linter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ pub struct LintFileOptions {
pub config: LintConfig,
}

#[derive(Clone)]
pub struct LintConfig {
pub default_jsx_factory: Option<String>,
pub default_jsx_fragment_factory: Option<String>,
Expand Down

0 comments on commit 0306733

Please sign in to comment.