Skip to content

Commit

Permalink
Make PSSA look for a file in the workspace root by default (#2484)
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmholt authored Feb 20, 2020
1 parent 495c7d9 commit b6fb0c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@
},
"powershell.scriptAnalysis.settingsPath": {
"type": "string",
"default": "",
"default": "PSScriptAnalyzerSettings.psd1",
"description": "Specifies the path to a PowerShell Script Analyzer settings file. To override the default settings for all projects, enter an absolute path, or enter a path relative to your workspace."
},
"powershell.codeFolding.enable": {
Expand Down
2 changes: 1 addition & 1 deletion src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export function load(): ISettings {

const defaultScriptAnalysisSettings: IScriptAnalysisSettings = {
enable: true,
settingsPath: "",
settingsPath: "PSScriptAnalyzerSettings.psd1",
};

const defaultDebuggingSettings: IDebuggingSettings = {
Expand Down

0 comments on commit b6fb0c4

Please sign in to comment.