-
-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathNinjaOne.code-workspace
More file actions
131 lines (131 loc) · 4.76 KB
/
NinjaOne.code-workspace
File metadata and controls
131 lines (131 loc) · 4.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"folders": [
{
"path": ".",
}
],
"settings": {
"editor.insertSpaces": false,
"editor.tabSize": 4,
"editor.detectIndentation": false,
"editor.autoIndent": "full",
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "modificationsIfAvailable",
"azure-pipelines.customSchemaFile": ".\\DevOps\\azurepipelines.schema.json",
"powershell.pester.useLegacyCodeLens": false,
"powershell.codeFormatting.preset": "OTBS",
"powershell.codeFormatting.useConstantStrings": true,
"powershell.codeFormatting.alignPropertyValuePairs": false,
"powershell.codeFormatting.addWhitespaceAroundPipe": true,
"powershell.codeFormatting.autoCorrectAliases": true,
"powershell.codeFormatting.ignoreOneLineBlock": true,
"powershell.codeFormatting.newLineAfterCloseBrace": true,
"powershell.codeFormatting.newLineAfterOpenBrace": true,
"powershell.codeFormatting.useCorrectCasing": true,
"powershell.codeFormatting.whitespaceAfterSeparator": true,
"powershell.codeFormatting.trimWhitespaceAroundPipe": false,
"powershell.codeFormatting.whitespaceAroundOperator": true,
"powershell.codeFormatting.whitespaceBeforeOpenBrace": true,
"powershell.codeFormatting.whitespaceBeforeOpenParen": true,
"powershell.codeFormatting.whitespaceBetweenParameters": false,
"powershell.codeFormatting.whitespaceInsideBrace": true,
"intelephense.format.braces": "k&r",
"chat.tools.terminal.autoApprove": {
"Copy-Item": true,
"&": true,
"Invoke-ScriptAnalyzer": true,
"Group-Object": true,
"ForEach-Object": true,
"Set-Content": true,
"git add": true,
"git commit": true,
"git push": true,
"Get-ScriptAnalyzerRule": true,
"Import-Module": true,
"Get-Command": true,
"Out-Null": true,
".\\DevOps\\Help\\Generate-CommentBasedHelp.ps1": true,
"ConvertFrom-Json": true,
"Get-Member": true,
".\\DevOps\\Help\\Apply-GeneratedHelpToFunctions.ps1": true,
".\\Source\\Public\\Organisation\\Invoke\\Invoke-NinjaOneOrganisationRestore.ps1": true,
".\\DevOps\\Help\\Add-MissingExampleSections.ps1": true,
"Test-ModuleManifest": true,
"Remove-Module": true,
".\\CustomRules\\CustomRules.psm1": true,
".\\DevOps\\Help\\Add-ExampleSections.ps1": true,
"Con": true,
"git checkout": true,
"Test-Path": true,
"git rm": true,
".\\DevOps\\Quality\\test.ps1": true,
"New-TemporaryFile": true,
"Rename-Item": true,
"Invoke-Pester": true,
"Get-FunctionList": true,
"Get-MetadataElement": true,
"Get-PositionalArguments": true,
"Get-Metadata": true,
"/^\\$publicFiles = Get-ChildItem -Path Public -Recurse -File -ErrorAction SilentlyContinue ; foreach \\(\\$file in \\$publicFiles\\) \\{ \\$rel = \\$file\\.FullName\\.Substring\\(\\(Join-Path \\(Get-Location\\) 'Public'\\)\\.Length \\+ 1\\) ; \\$dest = Join-Path \\(Join-Path \\(Get-Location\\) 'Source\\\\Public'\\) \\$rel ; if \\(-not \\(Test-Path -Path \\$dest\\)\\) \\{ \\[PSCustomObject\\]@\\{RelativePath=\\$rel\\} \\} \\} \\| Sort-Object RelativePath$/": {
"approve": true,
"matchCommandLine": true,
},
"act": true,
"gh": true,
"git tag": true,
"Get-Module": true,
"/^pwsh -File \\.\\\\DevOps\\\\Build\\\\build\\.ps1 -TaskNames build$/": {
"approve": true,
"matchCommandLine": true,
},
"Get-Item": true,
"Import-PowerShellDataFile": true,
"New-NinjaOneQuery": true,
"pwsh.exe": true,
"/^pwsh -NoProfile -ExecutionPolicy Bypass -Command \"& '\\.\\\\DevOps\\\\Build\\\\build\\.ps1' -TaskNames 'clean','build','updateManifest'\"$/": {
"approve": true,
"matchCommandLine": true,
},
"/^pwsh -File \\.\\\\DevOps\\\\Help\\\\Generate-FullRequestExamples\\.ps1 -CommandName 'New-NinjaOneEndUser' -WhatIf$/": {
"approve": true,
"matchCommandLine": true,
},
".\\DevOps\\Help\\Generate-FullRequestExamples.ps1": true,
".\\schema_debug.ps1": true,
".\\schema_example_test.ps1": true,
".\\DevOps\\Quality\\run-pssa.ps1": true,
".\\DevOps\\Build\\build.ps1": true,
"Get-Help": true,
"/^pwsh -File \\.\\\\DevOps\\\\Quality\\\\test\\.ps1 -IncludeVSCodeMarker$/": {
"approve": true,
"matchCommandLine": true,
},
"git pull": true,
},
"codeQL.githubDatabase.download": "never",
"cSpell.words": ["Analyzer"],
},
"launch": {
"version": "0.2.0",
"configurations": [
{
"name": "PowerShell Attach to Host Process",
"type": "PowerShell",
"request": "attach",
"runspaceId": 1,
},
{
"name": "PowerShell Attach Interactive Session Runspace",
"type": "PowerShell",
"request": "attach",
},
{
"name": "PowerShell: Launch Current File",
"type": "PowerShell",
"request": "launch",
"script": "${file}",
"cwd": "${file}",
},
],
},
}