Skip to content

Commit 59dddf2

Browse files
committed
Run Prettier across entire project
And move ESLint next-line directives back.
1 parent 722af37 commit 59dddf2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+5819
-3877
lines changed

.config/tsaoptions.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"instanceUrl": "https://msazure.visualstudio.com",
33
"projectName": "One",
44
"areaPath": "One\\MGMT\\Compute\\Powershell\\Powershell",
5-
"notificationAliases": [ "andschwa@microsoft.com", "slee@microsoft.com" ],
5+
"notificationAliases": ["andschwa@microsoft.com", "slee@microsoft.com"],
66
"codebaseName": "PowerShell_vscode-powershell_20240328",
7-
"tools": [ "CredScan", "PoliCheck", "BinSkim" ]
7+
"tools": ["CredScan", "PoliCheck", "BinSkim"]
88
}

.github/ISSUE_TEMPLATE/bug-report.yml

+90-90
Original file line numberDiff line numberDiff line change
@@ -2,98 +2,98 @@ name: 🐛 Bug report
22
description: Open an issue about a bug that needs fixing.
33
labels: ["Issue-Bug", "Needs: Triage"]
44
body:
5-
- type: checkboxes
6-
attributes:
7-
label: Prerequisites
8-
options:
9-
- label: I have written a descriptive issue title.
5+
- type: checkboxes
6+
attributes:
7+
label: Prerequisites
8+
options:
9+
- label: I have written a descriptive issue title.
10+
required: true
11+
- label: I have searched all [_open and closed_ issues](https://github.com/PowerShell/vscode-powershell/issues?q=is%3Aissue) to ensure it has not already been reported.
12+
- label: I have read the [troubleshooting](https://github.com/PowerShell/vscode-powershell/blob/main/docs/troubleshooting.md) guide.
13+
- label: I am sure this issue is with the _extension itself_ and does not reproduce in a standalone [PowerShell](https://github.com/PowerShell/PowerShell/issues/new/choose) instance.
14+
- label: I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
15+
- label: If this is a security issue, I have read the [security issue reporting guidance](https://github.com/PowerShell/vscode-powershell/blob/main/SECURITY.md).
16+
- type: textarea
17+
id: summary
18+
attributes:
19+
label: Summary
20+
description: Explain the problem briefly below.
21+
placeholder: I am experiencing a problem with X. I think Y should be happening but Z is actually happening.
22+
validations:
1023
required: true
11-
- label: I have searched all [_open and closed_ issues](https://github.com/PowerShell/vscode-powershell/issues?q=is%3Aissue) to ensure it has not already been reported.
12-
- label: I have read the [troubleshooting](https://github.com/PowerShell/vscode-powershell/blob/main/docs/troubleshooting.md) guide.
13-
- label: I am sure this issue is with the _extension itself_ and does not reproduce in a standalone [PowerShell](https://github.com/PowerShell/PowerShell/issues/new/choose) instance.
14-
- label: I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
15-
- label: If this is a security issue, I have read the [security issue reporting guidance](https://github.com/PowerShell/vscode-powershell/blob/main/SECURITY.md).
16-
- type: textarea
17-
id: summary
18-
attributes:
19-
label: Summary
20-
description: Explain the problem briefly below.
21-
placeholder: I am experiencing a problem with X. I think Y should be happening but Z is actually happening.
22-
validations:
23-
required: true
24-
- type: textarea
25-
id: powershell-version
26-
attributes:
27-
label: PowerShell Version
28-
description: Paste verbatim output from `$PSVersionTable; $Host` below. **Please include `$Host`** so we know this version is from the Extension Terminal!
29-
render: console
30-
placeholder: |
31-
PS> $PSVersionTable; $Host
24+
- type: textarea
25+
id: powershell-version
26+
attributes:
27+
label: PowerShell Version
28+
description: Paste verbatim output from `$PSVersionTable; $Host` below. **Please include `$Host`** so we know this version is from the Extension Terminal!
29+
render: console
30+
placeholder: |
31+
PS> $PSVersionTable; $Host
3232
33-
Name Value
34-
---- -----
35-
PSVersion 7.4.0
36-
PSEdition Core
37-
GitCommitId 7.4.0
38-
OS Microsoft Windows 10.0.22631
39-
Platform Win32NT
40-
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
41-
PSRemotingProtocolVersion 2.3
42-
SerializationVersion 1.1.0.1
43-
WSManStackVersion 3.0
33+
Name Value
34+
---- -----
35+
PSVersion 7.4.0
36+
PSEdition Core
37+
GitCommitId 7.4.0
38+
OS Microsoft Windows 10.0.22631
39+
Platform Win32NT
40+
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
41+
PSRemotingProtocolVersion 2.3
42+
SerializationVersion 1.1.0.1
43+
WSManStackVersion 3.0
4444
45-
Name : Visual Studio Code Host
46-
Version : 2023.11.0
47-
InstanceId : 803ce61b-6187-4574-9c1f-827ebb11b8b6
48-
UI : System.Management.Automation.Internal.Host.InternalHostUserInterface
49-
CurrentCulture : en-US
50-
CurrentUICulture : en-US
51-
PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
52-
DebuggerEnabled : True
53-
IsRunspacePushed : False
54-
Runspace : System.Management.Automation.Runspaces.LocalRunspace
55-
validations:
56-
required: true
57-
- type: textarea
58-
id: vscode-version
59-
attributes:
60-
label: Visual Studio Code Version
61-
description: Paste verbatim output from `code --version` below.
62-
render: console
63-
placeholder: |
64-
PS> code --version
45+
Name : Visual Studio Code Host
46+
Version : 2023.11.0
47+
InstanceId : 803ce61b-6187-4574-9c1f-827ebb11b8b6
48+
UI : System.Management.Automation.Internal.Host.InternalHostUserInterface
49+
CurrentCulture : en-US
50+
CurrentUICulture : en-US
51+
PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
52+
DebuggerEnabled : True
53+
IsRunspacePushed : False
54+
Runspace : System.Management.Automation.Runspaces.LocalRunspace
55+
validations:
56+
required: true
57+
- type: textarea
58+
id: vscode-version
59+
attributes:
60+
label: Visual Studio Code Version
61+
description: Paste verbatim output from `code --version` below.
62+
render: console
63+
placeholder: |
64+
PS> code --version
6565
66-
1.57.1
67-
507ce72a4466fbb27b715c3722558bb15afa9f48
68-
arm64
69-
validations:
70-
required: true
71-
- type: textarea
72-
id: extension-version
73-
attributes:
74-
label: Extension Version
75-
description: Paste verbatim output from `code --list-extensions --show-versions | Select-String powershell` below.
76-
render: console
77-
placeholder: |
78-
PS> code --list-extensions --show-versions | Select-String powershell
66+
1.57.1
67+
507ce72a4466fbb27b715c3722558bb15afa9f48
68+
arm64
69+
validations:
70+
required: true
71+
- type: textarea
72+
id: extension-version
73+
attributes:
74+
label: Extension Version
75+
description: Paste verbatim output from `code --list-extensions --show-versions | Select-String powershell` below.
76+
render: console
77+
placeholder: |
78+
PS> code --list-extensions --show-versions | Select-String powershell
7979
80-
ms-vscode.powershell@2021.8.0
81-
validations:
82-
required: true
83-
- type: textarea
84-
id: steps-to-reproduce
85-
attributes:
86-
label: Steps to Reproduce
87-
description: List of steps, sample code, failing test or link to a project that reproduces the behavior. Make sure you place a stack trace inside a code (```) block to avoid linking unrelated issues.
88-
validations:
89-
required: true
90-
- type: textarea
91-
id: visuals
92-
attributes:
93-
label: Visuals
94-
description: Please upload images or animations that can be used to reproduce issues in the area below. Try the [Steps Recorder](https://support.microsoft.com/en-us/windows/record-steps-to-reproduce-a-problem-46582a9b-620f-2e36-00c9-04e25d784e47) on Windows or [Screenshot](https://support.apple.com/en-us/HT208721) on macOS.
95-
- type: textarea
96-
id: logs
97-
attributes:
98-
label: Logs
99-
description: Please upload logs collected by following these [instructions](https://github.com/PowerShell/vscode-powershell/blob/main/docs/troubleshooting.md#logs) in the area below. Be careful to scrub sensitive information!
80+
ms-vscode.powershell@2021.8.0
81+
validations:
82+
required: true
83+
- type: textarea
84+
id: steps-to-reproduce
85+
attributes:
86+
label: Steps to Reproduce
87+
description: List of steps, sample code, failing test or link to a project that reproduces the behavior. Make sure you place a stack trace inside a code (```) block to avoid linking unrelated issues.
88+
validations:
89+
required: true
90+
- type: textarea
91+
id: visuals
92+
attributes:
93+
label: Visuals
94+
description: Please upload images or animations that can be used to reproduce issues in the area below. Try the [Steps Recorder](https://support.microsoft.com/en-us/windows/record-steps-to-reproduce-a-problem-46582a9b-620f-2e36-00c9-04e25d784e47) on Windows or [Screenshot](https://support.apple.com/en-us/HT208721) on macOS.
95+
- type: textarea
96+
id: logs
97+
attributes:
98+
label: Logs
99+
description: Please upload logs collected by following these [instructions](https://github.com/PowerShell/vscode-powershell/blob/main/docs/troubleshooting.md#logs) in the area below. Be careful to scrub sensitive information!

.github/ISSUE_TEMPLATE/feature-request.yml

+21-21
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@ name: ✨ Feature request
22
description: Open an issue about a potential new feature or improvement.
33
labels: ["Issue-Enhancement", "Needs: Triage"]
44
body:
5-
- type: checkboxes
6-
attributes:
7-
label: Prerequisites
8-
options:
9-
- label: I have written a descriptive issue title.
5+
- type: checkboxes
6+
attributes:
7+
label: Prerequisites
8+
options:
9+
- label: I have written a descriptive issue title.
10+
required: true
11+
- label: I have searched all [issues](https://github.com/PowerShell/vscode-powershell/issues?q=is%3Aissue) to ensure it has not already been reported.
12+
required: true
13+
- type: textarea
14+
id: summary
15+
attributes:
16+
label: Summary
17+
description: Explain the feature request below.
18+
placeholder: I would like to do X because it would be useful for Y and I cannot currently do it with Z.
19+
validations:
1020
required: true
11-
- label: I have searched all [issues](https://github.com/PowerShell/vscode-powershell/issues?q=is%3Aissue) to ensure it has not already been reported.
12-
required: true
13-
- type: textarea
14-
id: summary
15-
attributes:
16-
label: Summary
17-
description: Explain the feature request below.
18-
placeholder: I would like to do X because it would be useful for Y and I cannot currently do it with Z.
19-
validations:
20-
required: true
21-
- type: textarea
22-
id: proposed-design
23-
attributes:
24-
label: Proposed Design
25-
description: Optionally explain any technical design below.
26-
placeholder: We could accomplish this by extending X to take Y and yield Z.
21+
- type: textarea
22+
id: proposed-design
23+
attributes:
24+
label: Proposed Design
25+
description: Optionally explain any technical design below.
26+
placeholder: We could accomplish this by extending X to take Y and yield Z.

.github/workflows/ci-test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
env:
2020
DOTNET_NOLOGO: true
2121
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
22-
DISPLAY: ':99.0'
22+
DISPLAY: ":99.0"
2323
timeout-minutes: 10
2424
steps:
2525
- name: Checkout PowerShellEditorServices
@@ -70,11 +70,11 @@ jobs:
7070
if: always()
7171
with:
7272
name: vscode-powershell-vsix-${{ matrix.os }}
73-
path: '**/*.vsix'
73+
path: "**/*.vsix"
7474

7575
- name: Upload test results
7676
uses: actions/upload-artifact@v4
7777
if: always()
7878
with:
7979
name: vscode-powershell-test-results-${{ matrix.os }}
80-
path: '**/test-results.xml'
80+
path: "**/test-results.xml"

.markdownlint.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"MD013": false,
3-
"MD033": false,
4-
"MD022": false,
5-
"MD024": false
2+
"MD013": false,
3+
"MD033": false,
4+
"MD022": false,
5+
"MD024": false
66
}

0 commit comments

Comments
 (0)