Skip to content

Commit

Permalink
Add task "Lint (via PSScriptAnalyzer)" to tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianJ-TV committed Apr 22, 2023
1 parent 61d23ed commit bcce2d4
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
{
{
// See https://go.microsoft.com/fwlink/?LinkId=733558 for the documentation about the tasks.json format
"version": "2.0.0",
"windows": {
"options": {
"shell": {
"executable": "${env:windir}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
"args": [
"-NoProfile",
"-ExecutionPolicy",
"Bypass",
"-Command"
]
}
}
},
"tasks": [
{
"label": "Lint (via PSScriptAnalyzer)",
"type": "shell",
"command": "Invoke-ScriptAnalyzer -Path '${workspaceFolder}' -Severity Information, Warning, Error -Recurse",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always"
},
"problemMatcher": []
},
{
"label": "Clean",
"type": "shell",
Expand Down

0 comments on commit bcce2d4

Please sign in to comment.