I’ve searched the wide webs and found that they can be suppressed by adding line on top of script, but I had no luck.
A lot of my files are dot sourced and I know these variables are used.
Hey raymix,
I use a PSScriptAnalyzerSettings.psd1 file in the root of my workspace (although you can change the path in your settings json to point a particular location).
You should be able to configure it there.
My apologies for reviving this almost ancient thread, but would you perhaps be able to share this again?
The current url 404’s, but I’m very keen to have a look at it
Hey!
Unfortunately it looks like I removed that quite some time back I’m afraid, I was doing a clean up and didn’t realise it was still linked here! I had a poke around and didn’t find a backup either.
I guess I figured that it was so well documented that I wouldn’t need it.
I was already able to configure something myself based on the docs you also referenced. My brain just reached out for a shortcut to get me started haha