Skip to content

Commit 61ba923

Browse files
authored
Merge branch 'support/5.x' into koershov/mainline-fix
2 parents ec3b9bb + 00dcc8d commit 61ba923

File tree

637 files changed

+40467
-25612
lines changed

Some content is hidden

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

637 files changed

+40467
-25612
lines changed

.config/dotnet-tools.json

-12
This file was deleted.

.devcontainer/Dockerfile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.202.5/containers/dotnet/.devcontainer/base.Dockerfile
2+
3+
# [Choice] .NET version: 6.0, 5.0, 3.1, 6.0-bullseye, 5.0-bullseye, 3.1-bullseye, 6.0-focal, 5.0-focal, 3.1-focal
4+
ARG VARIANT="6.0-bullseye-slim"
5+
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:0-${VARIANT}
6+
7+
# [Optional] Uncomment this section to install additional OS packages.
8+
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
9+
# && apt-get -y install --no-install-recommends <your-package-list-here>

.devcontainer/devcontainer.json

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2+
// https://github.com/microsoft/vscode-dev-containers/tree/v0.202.5/containers/dotnet
3+
{
4+
"name": "C# (.NET)",
5+
"runArgs": ["--init"],
6+
"build": {
7+
"dockerfile": "Dockerfile",
8+
"args": {
9+
"VARIANT": "6.0",
10+
}
11+
},
12+
13+
// Set *default* container specific settings.json values on container create.
14+
"settings": {
15+
"editor.fontFamily": "'Cascadia Code', Consolas, 'Courier New', monospace",
16+
"editor.rulers": [90],
17+
"cSpell.words": [
18+
"commiting",
19+
"gittools",
20+
"gitversion"
21+
],
22+
},
23+
24+
// Add the IDs of extensions you want installed when the container is created.
25+
"extensions": [
26+
"ms-dotnettools.csharp",
27+
"EditorConfig.EditorConfig",
28+
"streetsidesoftware.code-spell-checker"
29+
],
30+
31+
"postCreateCommand": "dotnet restore src; dotnet build build",
32+
33+
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
34+
"remoteUser": "vscode",
35+
"features": {
36+
"docker-in-docker": "latest",
37+
"git": "latest",
38+
"github-cli": "latest",
39+
"sshd": "latest",
40+
"powershell": "latest"
41+
}
42+
}

.editorconfig

+13-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dotnet_separate_import_directive_groups = false
2121
dotnet_sort_system_directives_first = true
2222

2323
# Avoid "this." and "Me." if not necessary
24-
dotnet_style_qualification_for_field = true:warning
24+
dotnet_style_qualification_for_field = false:silent
2525
dotnet_style_qualification_for_property = false:silent
2626
dotnet_style_qualification_for_method = false:silent
2727
dotnet_style_qualification_for_event = false:silent
@@ -155,6 +155,12 @@ csharp_space_between_method_declaration_parameter_list_parentheses = false
155155
csharp_space_between_parentheses = false
156156
csharp_space_between_square_brackets = false
157157

158+
# Alignment
159+
align_multiline_parameter = true
160+
161+
# Qualify fields with "this."
162+
csharp_instance_members_qualify_members = field
163+
158164
# IDE0011: Add braces
159165
dotnet_diagnostic.IDE0011.severity = none
160166

@@ -175,3 +181,9 @@ dotnet_diagnostic.CA2208.severity = warning
175181

176182
# CA1810: Initialize reference type static fields inline
177183
dotnet_diagnostic.CA1810.severity = warning
184+
185+
# CA1816: Dispose methods should call SuppressFinalize
186+
dotnet_diagnostic.CA1816.severity = warning
187+
188+
# IDE0005: Using directive is unnecessary.
189+
dotnet_diagnostic.IDE0005.severity = warning

.github/dependabot.yml

+11
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
11
version: 2
22
updates:
33
- package-ecosystem: nuget
4+
labels:
5+
- "dependencies"
6+
commit-message:
7+
prefix: "(deps)"
48
directory: "/"
59
schedule:
610
interval: daily
711
open-pull-requests-limit: 10
12+
ignore:
13+
- dependency-name: "Microsoft.Build"
14+
versions: ["16.9.0", "16.11.0"]
815
- package-ecosystem: github-actions
16+
labels:
17+
- "dependencies"
18+
commit-message:
19+
prefix: "(build deps)"
920
directory: "/"
1021
schedule:
1122
interval: daily

.github/mergify.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ pull_request_rules:
88
- name: Automatic merge on dependabot PR after success CI
99
conditions:
1010
- author~=^dependabot(|-preview)\[bot\]$
11+
- '#commits-behind=0' # Only merge up to date pull requests
1112
- check-success=DotNet Format
12-
- check-success=Build (windows-latest)
13-
- check-success=Build (ubuntu-latest)
14-
- check-success=Build (macos-latest)
15-
- check-success=Unit Test (windows-latest)
16-
- check-success=Unit Test (ubuntu-latest)
17-
- check-success=Unit Test (macos-latest)
1813
- check-success=Release
14+
- check-success=Unit Test code (windows-latest, netcoreapp3.1)
15+
- check-success=Unit Test code (ubuntu-latest, netcoreapp3.1)
16+
- check-success=Unit Test code (macos-latest, netcoreapp3.1)
17+
- check-success=Unit Test code (windows-latest, net5.0)
18+
- check-success=Unit Test code (windows-latest, net5.0)
19+
- check-success=Unit Test code (windows-latest, net5.0)
20+
- repository-full-name=GitTools/GitVersion # Don't auto-merge PRs in forks
1921
actions:
2022
merge:
21-
method: rebase
22-
strict: smart
2323
- name: Thank contributor
2424
conditions:
2525
- merged

0 commit comments

Comments
 (0)