File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -427,13 +427,14 @@ impl ConfigStoreBuilder {
427427 serde_json:: to_string_pretty ( & oxlintrc) . unwrap ( )
428428 }
429429
430- #[ cfg( any( not( feature = "oxlint2" ) , feature = "disable_oxlint2" ) ) ]
430+ #[ cfg( not( all( feature = "oxlint2" , not( feature = "disable_oxlint2" ) ) ) ) ]
431+ #[ expect( unused_variables) ]
431432 fn load_external_plugin (
432- _oxlintrc_dir_path : & Path ,
433- _plugin_specifier : & str ,
434- _external_linter : & ExternalLinter ,
435- _resolver : & Resolver ,
436- _external_plugin_store : & mut ExternalPluginStore ,
433+ oxlintrc_dir_path : & Path ,
434+ plugin_specifier : & str ,
435+ external_linter : & ExternalLinter ,
436+ resolver : & Resolver ,
437+ external_plugin_store : & mut ExternalPluginStore ,
437438 ) -> Result < ( ) , ConfigBuilderError > {
438439 unreachable ! ( )
439440 }
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ pub struct Loc {
4343}
4444
4545#[ derive( Clone ) ]
46- #[ cfg_attr( any ( not( feature = "oxlint2" ) , feature = "disable_oxlint2" ) , expect( dead_code) ) ]
46+ #[ cfg_attr( not( all ( feature = "oxlint2" , not ( feature = "disable_oxlint2" ) ) ) , expect( dead_code) ) ]
4747pub struct ExternalLinter {
4848 pub ( crate ) load_plugin : ExternalLinterLoadPluginCb ,
4949 pub ( crate ) run : ExternalLinterCb ,
You can’t perform that action at this time.
0 commit comments