We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
load_external_plugin
oxlint2
disable_oxlint2
1 parent 407429a commit f90d3e1Copy full SHA for f90d3e1
crates/oxc_linter/src/config/config_builder.rs
@@ -385,7 +385,7 @@ impl ConfigStoreBuilder {
385
serde_json::to_string_pretty(&oxlintrc).unwrap()
386
}
387
388
- #[cfg(not(feature = "oxlint2"))]
+ #[cfg(any(not(feature = "oxlint2"), feature = "disable_oxlint2"))]
389
fn load_external_plugin(
390
_oxlintrc_path: &Path,
391
_plugin_name: &str,
@@ -395,7 +395,7 @@ impl ConfigStoreBuilder {
395
Err(ConfigBuilderError::NoExternalLinterConfigured)
396
397
398
- #[cfg(feature = "oxlint2")]
+ #[cfg(all(feature = "oxlint2", not(feature = "disable_oxlint2")))]
399
400
oxlintrc_path: &Path,
401
plugin_name: &str,
0 commit comments