PSScriptAnalyzer "using module" marking as script parse error

Product: PowerShell Universal
Version: 4.0.9

I have a custom module. I noticed that PSScriptAnalyzer seems to have an issue with reliably analyzing the script and marks the first line “using module TestModule“ as an error. This is fine except it prevents me from ignoring it and saving the file.

Is it possible to disable this specific check?

One possibility may be updating psscriptanalyzersettings.psd1 defaults. But I can’t seem to get it to work.

RuleName                            Severity     ScriptName Line  Message
--------                            --------     ---------- ----  -------
ModuleNotFoundDuringParse           ParseError   Test.ps1   1     Could not find the module 'TestModule'.