diff --git a/CHANGELOG.md b/CHANGELOG.md index d9f71cc..53dcc6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Snippets: All snippets that reference schemas updated to use `v1.3.0` schema +### Fixed: + +- Diagnostics: Fixed issue where unknown plugins would cause validation errors and incorrectly show "At least one plugin must be enabled" warning + ## [1.6.0] - 2025-10-13 ### Changed: diff --git a/src/diagnostics.ts b/src/diagnostics.ts index 8026be4..cfae3e7 100644 --- a/src/diagnostics.ts +++ b/src/diagnostics.ts @@ -168,6 +168,11 @@ const validatePluginConfigurations = ( .value as boolean; const pluginSnippet = pluginSnippets[pluginName]; + // Skip validation for unknown plugins + if (!pluginSnippet) { + return; + } + checkPluginConfiguration( pluginNode, diagnostics,