Skip to content

Commit 783783a

Browse files
Merge pull request #23 from nullinside-development-group/chore/update
chore: syncing conventions
2 parents 5244b68 + 19486ba commit 783783a

File tree

4 files changed

+17
-10
lines changed

4 files changed

+17
-10
lines changed

src/Nullinside.Cicd.GitHub/.editorconfig

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ end_of_line = lf
2929
insert_final_newline = false
3030

3131
#### .NET Coding Conventions ####
32-
[*.{cs,vb}]
3332

3433
# Organize usings
3534
dotnet_separate_import_directive_groups = true
@@ -82,7 +81,6 @@ dotnet_code_quality_unused_parameters = all:suggestion
8281
dotnet_remove_unnecessary_suppression_exclusions = none
8382

8483
#### C# Coding Conventions ####
85-
[*.cs]
8684

8785
# var preferences
8886
csharp_style_var_elsewhere = false:silent
@@ -179,7 +177,6 @@ csharp_preserve_single_line_blocks = true
179177
csharp_preserve_single_line_statements = true
180178

181179
#### Naming styles ####
182-
[*.{cs,vb}]
183180

184181
# Naming rules
185182

@@ -233,19 +230,19 @@ dotnet_naming_rule.private_static_fields_should_be_s_camelcase.style = s_camelca
233230

234231
dotnet_naming_rule.public_constant_fields_should_be_pascalcase.severity = suggestion
235232
dotnet_naming_rule.public_constant_fields_should_be_pascalcase.symbols = public_constant_fields
236-
dotnet_naming_rule.public_constant_fields_should_be_pascalcase.style = pascalcase
233+
dotnet_naming_rule.public_constant_fields_should_be_pascalcase.style = all_upper
237234

238235
dotnet_naming_rule.private_constant_fields_should_be_pascalcase.severity = suggestion
239236
dotnet_naming_rule.private_constant_fields_should_be_pascalcase.symbols = private_constant_fields
240-
dotnet_naming_rule.private_constant_fields_should_be_pascalcase.style = pascalcase
237+
dotnet_naming_rule.private_constant_fields_should_be_pascalcase.style = all_upper
241238

242239
dotnet_naming_rule.public_static_readonly_fields_should_be_pascalcase.severity = suggestion
243240
dotnet_naming_rule.public_static_readonly_fields_should_be_pascalcase.symbols = public_static_readonly_fields
244-
dotnet_naming_rule.public_static_readonly_fields_should_be_pascalcase.style = pascalcase
241+
dotnet_naming_rule.public_static_readonly_fields_should_be_pascalcase.style = all_upper
245242

246243
dotnet_naming_rule.private_static_readonly_fields_should_be_pascalcase.severity = suggestion
247244
dotnet_naming_rule.private_static_readonly_fields_should_be_pascalcase.symbols = private_static_readonly_fields
248-
dotnet_naming_rule.private_static_readonly_fields_should_be_pascalcase.style = pascalcase
245+
dotnet_naming_rule.private_static_readonly_fields_should_be_pascalcase.style = all_upper
249246

250247
dotnet_naming_rule.enums_should_be_pascalcase.severity = suggestion
251248
dotnet_naming_rule.enums_should_be_pascalcase.symbols = enums
@@ -369,3 +366,7 @@ dotnet_naming_style.s_camelcase.required_suffix =
369366
dotnet_naming_style.s_camelcase.word_separator =
370367
dotnet_naming_style.s_camelcase.capitalization = camel_case
371368

369+
dotnet_naming_style.all_upper.required_prefix =
370+
dotnet_naming_style.all_upper.required_suffix =
371+
dotnet_naming_style.all_upper.word_separator = _
372+
dotnet_naming_style.all_upper.capitalization = all_upper

src/Nullinside.Cicd.GitHub/Constants.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ public static class Constants {
2323
/// The github project's unique identifier on github.
2424
/// </summary>
2525
public const int GITHUB_PROJECT_NUM = 1;
26-
26+
2727
/// <summary>
28-
/// The unique identifier on GitHub for the "done" status of items.
28+
/// The unique identifier on GitHub for the "done" status of items.
2929
/// </summary>
3030
/// <remarks>This was found by manually querying the API. It's a nightmare to pull. Hence the hardcoding.</remarks>
3131
public const string GITHUB_PROJECT_DONE_SINGLE_SELECT_ID = "98236657";

src/Nullinside.Cicd.GitHub/Nullinside.Cicd.GitHub.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</PropertyGroup>
2020

2121
<ItemGroup>
22-
<PackageReference Include="log4net" Version="3.1.0" />
22+
<PackageReference Include="log4net" Version="3.1.0"/>
2323
<PackageReference Include="log4net.Ext.Json" Version="3.0.3"/>
2424
<PackageReference Include="Octokit" Version="14.0.0"/>
2525
</ItemGroup>

src/global.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"sdk": {
3+
"rollForward": "latestMajor",
4+
"allowPrerelease": false
5+
}
6+
}

0 commit comments

Comments
 (0)