Skip to content

Commit 1646864

Browse files
committed
dotnet format
1 parent 25ad767 commit 1646864

33 files changed

+165
-43
lines changed

.editorconfig

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# top-most EditorConfig file
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
end_of_line = lf
7+
indent_style = space
8+
indent_size = 2
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
12+
# Visual Studio Spell checker configs (https://learn.microsoft.com/en-us/visualstudio/ide/text-spell-checker?view=vs-2022#how-to-customize-the-spell-checker)
13+
spelling_exclusion_path = ./exclusion.dic
14+
15+
[*.cs]
16+
indent_size = 4
17+
charset = utf-8-bom
18+
end_of_line = unset
19+
20+
# Solution files
21+
[*.{sln,slnx}]
22+
end_of_line = unset
23+
24+
# MSBuild project files
25+
[*.{csproj,props,targets}]
26+
end_of_line = unset
27+
28+
# Xml config files
29+
[*.{ruleset,config,nuspec,resx,runsettings,DotSettings}]
30+
end_of_line = unset
31+
32+
[*{_AssemblyInfo.cs,.notsupported.cs}]
33+
generated_code = true
34+
35+
# C# code style settings
36+
[*.{cs}]
37+
dotnet_diagnostic.IDE0044.severity = none # IDE0044: Make field readonly
38+
39+
# https://stackoverflow.com/questions/79195382/how-to-disable-fading-unused-methods-in-visual-studio-2022-17-12-0
40+
dotnet_diagnostic.IDE0051.severity = none # IDE0051: Remove unused private member
41+
dotnet_diagnostic.IDE0130.severity = none # IDE0130: Namespace does not match folder structure

exclusion.dic

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
abcd
2+
adhoc
3+
Akeit
4+
alice
5+
alloc
6+
arraypool
7+
atle
8+
bananacherry
9+
behaviour
10+
Bobbob
11+
callstack
12+
childs
13+
Collaps
14+
colour
15+
Comparables
16+
Comparerer
17+
concatee
18+
Concats
19+
Countr
20+
covariantly
21+
csharplang
22+
cust
23+
dcba
24+
ddd
25+
dddd
26+
dest
27+
Doesnt
28+
Doest
29+
dropin
30+
Enumerables
31+
filzrev
32+
Foat
33+
fromend
34+
fromstart
35+
grouptype
36+
IComparables
37+
impl
38+
impls
39+
Infos
40+
Introsort
41+
ints
42+
Invalod
43+
Istv
44+
Iterable
45+
Itertor
46+
Json
47+
kvps
48+
Linq
49+
Nanika
50+
netstandard
51+
nevar
52+
Nonnon
53+
Nonnullable
54+
Numerics
55+
objs
56+
onegroup
57+
Opertion
58+
orig
59+
ovar
60+
polyfill
61+
preallocate
62+
quickselect
63+
Risc
64+
rish
65+
Sachin
66+
Seletor
67+
Sequnce
68+
Shortcircuit
69+
shortcircuits
70+
simd
71+
Subsetting
72+
Traversables
73+
trboe
74+
uints
75+
ulongs
76+
Uncastable
77+
ushorts
78+
Wasi
79+
whehter
80+
XUnit
81+
zlinq

opensource.snk

596 Bytes
Binary file not shown.

sandbox/BenchmarkSuite/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@
4343
.DontEnforcePowerPlan());
4444

4545
var _ = BenchmarkRunner.Run(typeof(Program).Assembly, config);
46-
#endif
46+
#endif

sandbox/BenchmarkSuite/ToonFormat/Constants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22

33
namespace ToonFormat
44
{

sandbox/BenchmarkSuite/ToonFormat/Internal/Converters/DoubleNamedFloatToNullConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Text.Json;
33
using System.Text.Json.Serialization;
44

sandbox/BenchmarkSuite/ToonFormat/Internal/Converters/SingleNamedFloatToNullConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Text.Json;
33
using System.Text.Json.Serialization;
44

sandbox/BenchmarkSuite/ToonFormat/Internal/Decode/Decoders.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#nullable enable
1+
#nullable enable
22
using System;
33
using System.Collections.Generic;
44
using System.Linq;

sandbox/BenchmarkSuite/ToonFormat/Internal/Decode/Parser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#nullable enable
1+
#nullable enable
22
using System;
33
using System.Collections.Generic;
44
using System.Globalization;

sandbox/BenchmarkSuite/ToonFormat/Internal/Decode/Scanner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#nullable enable
1+
#nullable enable
22
using System;
33
using System.Collections.Generic;
44
using System.Linq;

0 commit comments

Comments
 (0)