You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most linter tools automatically pick up the config file from the root of your workspace. We should do the same.
I'd like to set the default value for powerShell.scriptAnalysis.settingsFilePath to PSScriptAnalyzerSettings.psd1 which means that if there is a PSScriptAnalyzerSettings.psd1 in the root of the workspace, we will automatically use it.
If a user doesn't want this, they can opt out via:
"powerShell.scriptAnalysis.settingsFilePath":""
but PSSA integration is one of our flagship features so we should streamline the experience.
Also, the user can still set it to something else if they so choose.
Setting the default value for powerShell.scriptAnalysis.settingsFilePath to PSScriptAnalyzerSettings.psd1. Making sure our code is resilient if the file doesn't exist.
I need to hear what @bergmeister has to say about this. Among anyone else :)