diff --git a/packages/mongodb-linting-engine/src/main/kotlin/com/mongodb/jbplugin/linting/NamespaceCheckingLinter.kt b/packages/mongodb-linting-engine/src/main/kotlin/com/mongodb/jbplugin/linting/NamespaceCheckingLinter.kt index 901f78c8..d6c04fff 100644 --- a/packages/mongodb-linting-engine/src/main/kotlin/com/mongodb/jbplugin/linting/NamespaceCheckingLinter.kt +++ b/packages/mongodb-linting-engine/src/main/kotlin/com/mongodb/jbplugin/linting/NamespaceCheckingLinter.kt @@ -128,7 +128,8 @@ object NamespaceCheckingLinter { databaseDoesNotExistParser, collectionDoesNotExistParser, databaseIsNotKnown, - noCollectionSpecified + noCollectionSpecified, + otherwise { emptyList() } ) return NamespaceCheckResult(