Skip to content

Commit effbbbc

Browse files
authored
Merge branch 'main' into rename-function-customvisitor
2 parents 2647b91 + c33b8ec commit effbbbc

File tree

59 files changed

+4215
-7363
lines changed

Some content is hidden

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

59 files changed

+4215
-7363
lines changed

.editorconfig

+9-9
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ dotnet_diagnostic.CA1068.severity = error
5454
# CA1501: Avoid excessive inheritance
5555
dotnet_diagnostic.CA1501.severity = error
5656
# CA1502: Avoid excessive complexity
57-
dotnet_diagnostic.CA1502.severity = warning
57+
dotnet_diagnostic.CA1502.severity = silent
5858
# CA1505: Avoid unmaintainable code
5959
dotnet_diagnostic.CA1505.severity = error
6060
# CA1506: Avoid excessive class coupling
61-
dotnet_diagnostic.CA1506.severity = warning
61+
dotnet_diagnostic.CA1506.severity = silent
6262
# CA1507: Use nameof in place of string
6363
dotnet_diagnostic.CA1507.severity = error
6464
# CA1508: Avoid dead conditional code
@@ -95,22 +95,22 @@ dotnet_diagnostic.RCS1210.severity = error
9595
# RCS1036: Remove unnecessary blank line
9696
dotnet_diagnostic.RCS1036.severity = error
9797
# RCS1075: Avoid empty catch clause that catches System.Exception
98-
dotnet_diagnostic.RCS1075.severity = suggestion
98+
dotnet_diagnostic.RCS1075.severity = error
9999
# RCS1170: Use read-only auto-implemented property
100100
dotnet_diagnostic.RCS1170.severity = error
101101

102102
# VSTHRD002: Avoid problematic synchronous waits
103-
dotnet_diagnostic.VSTHRD002.severity = suggestion
103+
dotnet_diagnostic.VSTHRD002.severity = error
104104
# VSTHRD003: Avoid awaiting foreign Tasks
105-
dotnet_diagnostic.VSTHRD003.severity = suggestion
105+
dotnet_diagnostic.VSTHRD003.severity = error
106106
# VSTHRD105: Avoid method overloads that assume TaskScheduler.Current
107-
dotnet_diagnostic.VSTHRD105.severity = suggestion
107+
dotnet_diagnostic.VSTHRD105.severity = error
108108
# VSTHRD100: Avoid async void methods
109-
dotnet_diagnostic.VSTHRD100.severity = suggestion
109+
dotnet_diagnostic.VSTHRD100.severity = error
110110
# VSTHRD103: Call async methods when in an async method
111-
dotnet_diagnostic.VSTHRD103.severity = suggestion
111+
dotnet_diagnostic.VSTHRD103.severity = error
112112
# VSTHRD110: Observe result of async calls
113-
dotnet_diagnostic.VSTHRD110.severity = suggestion
113+
dotnet_diagnostic.VSTHRD110.severity = error
114114
# VSTHRD114: Avoid returning a null Task
115115
dotnet_diagnostic.VSTHRD114.severity = error
116116
# VSTHRD200: Use "Async" suffix for awaitable methods

.github/dependabot.yml

-21
This file was deleted.

.github/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ changelog:
33
labels:
44
- Ignore
55
authors:
6-
- dependabot[bot]
6+
- dependabot
77
categories:
88
- title: Enhancements & Features ✨
99
labels:

.github/workflows/ci-test.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ on:
44
push:
55
branches: [ main ]
66
pull_request:
7-
# The branches below must be a subset of the branches above
87
branches: [ main ]
9-
paths-ignore: [ '**/*.md' ]
108
merge_group:
119
types: [ checks_requested ]
1210
schedule:
@@ -22,7 +20,6 @@ jobs:
2220
runs-on: ${{ matrix.os }}
2321
env:
2422
DOTNET_NOLOGO: true
25-
DOTNET_CLI_TELEMETRY_OPTOUT: true
2623
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
2724
steps:
2825
- name: Checkout repository
@@ -32,14 +29,11 @@ jobs:
3229
uses: actions/setup-dotnet@v4
3330
with:
3431
cache: true
35-
cache-dependency-path: '**/packages.lock.json'
32+
cache-dependency-path: '**/*.csproj'
3633
dotnet-version: |
3734
6.0.x
3835
7.0.x
3936
8.0.x
40-
source-url: https://pkgs.dev.azure.com/mscodehub/PowerShellCore/_packaging/PowerShellCore_PublicPackages/nuget/v3/index.json
41-
env:
42-
NUGET_AUTH_TOKEN: ${{ secrets.AZURE_NUGET_TOKEN }}
4337
4438
- name: Install PSResources
4539
shell: pwsh

.github/workflows/codeql-analysis.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
# The branches below must be a subset of the branches above
88
branches: [ main ]
99
paths-ignore: [ '**/*.md' ]
10+
schedule:
11+
- cron: '35 13 * * 4'
1012

1113
jobs:
1214
analyze:
@@ -22,7 +24,6 @@ jobs:
2224
security-events: write
2325
env:
2426
DOTNET_NOLOGO: true
25-
DOTNET_CLI_TELEMETRY_OPTOUT: true
2627
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
2728
steps:
2829
- name: Checkout repository
@@ -32,10 +33,7 @@ jobs:
3233
uses: actions/setup-dotnet@v4
3334
with:
3435
cache: true
35-
cache-dependency-path: '**/packages.lock.json'
36-
source-url: https://pkgs.dev.azure.com/mscodehub/PowerShellCore/_packaging/PowerShellCore_PublicPackages/nuget/v3/index.json
37-
env:
38-
NUGET_AUTH_TOKEN: ${{ secrets.AZURE_NUGET_TOKEN }}
36+
cache-dependency-path: '**/*.csproj'
3937

4038
- name: Initialize CodeQL
4139
uses: github/codeql-action/init@v3

.github/workflows/emacs-test.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
runs-on: ubuntu-latest
1717
env:
1818
DOTNET_NOLOGO: true
19-
DOTNET_CLI_TELEMETRY_OPTOUT: true
2019
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
2120
steps:
2221
- name: Checkout repository
@@ -26,10 +25,7 @@ jobs:
2625
uses: actions/setup-dotnet@v4
2726
with:
2827
cache: true
29-
cache-dependency-path: '**/packages.lock.json'
30-
source-url: https://pkgs.dev.azure.com/mscodehub/PowerShellCore/_packaging/PowerShellCore_PublicPackages/nuget/v3/index.json
31-
env:
32-
NUGET_AUTH_TOKEN: ${{ secrets.AZURE_NUGET_TOKEN }}
28+
cache-dependency-path: '**/*.csproj'
3329

3430
- name: Install PSResources
3531
shell: pwsh

.github/workflows/vim-test.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
runs-on: ubuntu-latest
1717
env:
1818
DOTNET_NOLOGO: true
19-
DOTNET_CLI_TELEMETRY_OPTOUT: true
2019
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
2120
steps:
2221
- name: Checkout repository
@@ -26,10 +25,7 @@ jobs:
2625
uses: actions/setup-dotnet@v4
2726
with:
2827
cache: true
29-
cache-dependency-path: '**/packages.lock.json'
30-
source-url: https://pkgs.dev.azure.com/mscodehub/PowerShellCore/_packaging/PowerShellCore_PublicPackages/nuget/v3/index.json
31-
env:
32-
NUGET_AUTH_TOKEN: ${{ secrets.AZURE_NUGET_TOKEN }}
28+
cache-dependency-path: '**/*.csproj'
3329

3430
- name: Install PSResources
3531
shell: pwsh

.gitignore

+8-79
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,8 @@
1-
_ReSharper*
2-
[Bb]in
3-
bin-nano
4-
obj
5-
objd
6-
out/
7-
tmp/
8-
.tmp
9-
App_Data
10-
*.user
11-
*.sln.cache
12-
*.suo
13-
TestResults
14-
test/emacs-session.json
15-
[Tt]humbs.db
16-
buildd.*
17-
release/
18-
*.log
19-
*.bak
20-
packages
21-
OACRTemp/
22-
build_logs/
23-
lock
24-
/public/inc/bldver.*
25-
/public/inc/sources.ver
26-
/data
27-
/target
28-
.corext/gen
29-
registered_data.ini
30-
.vs/
31-
.dotnet/
32-
module/Plaster
33-
module/PSScriptAnalyzer
34-
module/PSReadLine
35-
docs/_site/
36-
docs/_repo/
37-
docs/metadata/
38-
*.zip
39-
40-
# Generated build info file
41-
src/PowerShellEditorServices.Hosting/BuildInfo.cs
42-
43-
# quickbuild.exe
44-
/VersionGeneratingLogs/
45-
QLogs
46-
QLocal
47-
QTestLogs
48-
49-
# bad tlb/chm generators in nmake tree
50-
*.tlb
51-
*.chm
52-
53-
# dumb silverlight
54-
ClientBin/
55-
56-
# dump azure
57-
*.build.csdef
58-
csx/
59-
60-
# Don't include ScriptAnalyzer binaries
61-
PowerShellEditorServices/**
62-
PowerShellEditorServices.NoNano/**
63-
64-
PowerShellEditorServices.sln.ide/edb.chk
65-
PowerShellEditorServices.sln.ide/edbres00001.jrs
66-
PowerShellEditorServices.sln.ide/storage.ide
67-
*.jrs
68-
69-
# Don't include PlatyPS generated MAML
70-
module/PowerShellEditorServices/Commands/en-US/*-help.xml
71-
72-
# Don't include Third Party Notices in module folder
73-
module/PowerShellEditorServices/Third\ Party\ Notices.txt
74-
75-
# Visual Studio for Mac generated file
76-
*.userprefs
77-
78-
# JetBrains generated file (Rider, intelliJ)
79-
.idea/
1+
bin/
2+
obj/
3+
module/PowerShellEditorServices/NOTICE.txt
4+
module/PowerShellEditorServices/Commands/en-US/
5+
module/Plaster/
6+
module/PSReadLine/
7+
module/PSScriptAnalyzer/
8+
TestResults/

0 commit comments

Comments
 (0)