Skip to content

Commit ad505cc

Browse files
committed
initial commit
0 parents  commit ad505cc

File tree

295 files changed

+12909
-0
lines changed

Some content is hidden

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

295 files changed

+12909
-0
lines changed

.editorconfig

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# http://EditorConfig.org
2+
3+
root = true
4+
5+
# All files
6+
[*]
7+
indent_style = space
8+
9+
# Code files
10+
[*.{cs,csx,vb,vbx}]
11+
indent_size = 4
12+
13+
# XML project files
14+
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
15+
indent_size = 2
16+
17+
# XML config files
18+
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
19+
indent_size = 2
20+
21+
# YAML files
22+
[*.{yaml,yml}]
23+
indent_size = 2
24+
25+
# JSON files
26+
[*.json]
27+
indent_size = 2
28+
29+
# C Sharp styles
30+
[*.cs]
31+
32+
# IDE0090: "new(...)" verwenden
33+
csharp_style_implicit_object_creation_when_type_is_apparent = false
34+
35+
# IDE0160: Convert to file-scoped namespace
36+
csharp_style_namespace_declarations = file_scoped:warning
37+
38+
# StyleCop Analyzers
39+
#
40+
41+
# SA1101: Prefix local calls with this
42+
dotnet_diagnostic.SA1101.severity = none
43+
44+
# SA1633: File should have header
45+
dotnet_diagnostic.SA1633.severity = none
46+
47+
# SA1505: Opening braces should not be followed by blank line
48+
dotnet_diagnostic.SA1505.severity = none
49+
50+
# SA1508: Closing braces should not be preceded by blank line
51+
dotnet_diagnostic.SA1508.severity = none
52+
53+
# SA1009: Closing parenthesis should be spaced correctly
54+
dotnet_diagnostic.SA1009.severity = none
55+
56+
# SA1108: Block statements should not contain embedded comments
57+
dotnet_diagnostic.SA1108.severity = none
58+
59+
# SA1200: Using directives should be placed correctly
60+
dotnet_diagnostic.SA1200.severity = none
61+
62+
# SA1201: Elements should appear in the correct order
63+
dotnet_diagnostic.SA1201.severity = none
64+
65+
# SA1117: Parameters should be on same line or separate lines
66+
dotnet_diagnostic.SA1117.severity = none
67+
68+
# SA1202: Elements should be ordered by access
69+
dotnet_diagnostic.SA1202.severity = none
70+
71+
# SA1116: Split parameters should start on line after declaration
72+
dotnet_diagnostic.SA1116.severity = none
73+
74+
# SA1503: Braces should not be omitted
75+
dotnet_diagnostic.SA1503.severity = none
76+
77+
# SA1407: Arithmetic expressions should declare precedence
78+
dotnet_diagnostic.SA1407.severity = none
79+
80+
# SA1129: Do not use default value type constructor
81+
dotnet_diagnostic.SA1129.severity = none

.gitattributes

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
#*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
#*.sln merge=binary
26+
#*.csproj merge=binary
27+
#*.vbproj merge=binary
28+
#*.vcxproj merge=binary
29+
#*.vcproj merge=binary
30+
#*.dbproj merge=binary
31+
#*.fsproj merge=binary
32+
#*.lsproj merge=binary
33+
#*.wixproj merge=binary
34+
#*.modelproj merge=binary
35+
#*.sqlproj merge=binary
36+
#*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [ main ]
7+
pull_request:
8+
branches: [ main ]
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
- name: Setup .NET
18+
uses: actions/setup-dotnet@v3
19+
with:
20+
dotnet-version: 6.0.x
21+
- name: Restore dependencies
22+
run: dotnet restore
23+
working-directory: src
24+
- name: Build
25+
run: dotnet build --no-restore --maxcpucount:1
26+
working-directory: src
27+
- name: Test
28+
run: dotnet test --no-build --verbosity normal
29+
working-directory: src

0 commit comments

Comments
 (0)