Skip to content

Commit 4e85e27

Browse files
committed
fix: testing project generation.
1 parent e16c41c commit 4e85e27

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,21 @@ guidelines_style = 1px dotted 40ff0000
99
# C# files
1010
[*.cs]
1111

12+
# Enable all .NET analyzer rules
13+
dotnet_analyzer_diagnostic.severity = warning
14+
15+
# Enable all code quality rules (CA####)
16+
dotnet_code_quality.CA*.severity = warning
17+
18+
# Enable all style and maintainability rules (IDE####)
19+
dotnet_diagnostic.IDE*.severity = warning
20+
21+
# Enable Unity-specific analyzers (if used)
22+
dotnet_diagnostic.UNT*.severity = warning
23+
24+
# Enable compiler warnings (CS####)
25+
dotnet_diagnostic.CS*.severity = warning
26+
1227
#### Core EditorConfig Options ####
1328

1429
# Indentation and spacing

.github/workflows/generate-unity-project-files.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: Generate Unity Solution
22

33
on:
4-
push:
5-
branches:
6-
- main
74
pull_request:
5+
branches:
6+
- feat/cs-linter-action
7+
workflow_dispatch:
88

99
jobs:
1010
generate-solution:

0 commit comments

Comments
 (0)