You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,23 @@ Before opening a pull request:
16
16
If you are reporting a bug, include the exact command, OS, .NET SDK version, and sanitized output.
17
17
Do not paste private paths, customer data, proprietary binaries, or exploit details into public issues.
18
18
19
+
### Formatting
20
+
21
+
[`global.json`](global.json) pins the .NET SDK used by developers and CI, and [`.editorconfig`](.editorconfig) is the formatting source of truth. Install the pinned SDK, then run:
22
+
23
+
```shell
24
+
dotnet restore FolderDiffIL4DotNet.sln
25
+
dotnet format FolderDiffIL4DotNet.sln --verify-no-changes --no-restore
26
+
```
27
+
28
+
To fix formatting drift locally, replace the verification command with:
29
+
30
+
```shell
31
+
dotnet format FolderDiffIL4DotNet.sln --no-restore
32
+
```
33
+
34
+
Tracked text files use LF through [`.gitattributes`](.gitattributes), except Windows command scripts (`*.bat` and `*.cmd`), which use CRLF. Binary assets are marked as binary. Build output under `bin/` and `obj/`, files recognized by the SDK as generated, and conventional generated C# filenames are not part of the hand-maintained formatting baseline.
35
+
19
36
## 日本語
20
37
21
38
`FolderDiffIL4DotNet` の改善に協力していただきありがとうございます。
@@ -31,3 +48,20 @@ Do not paste private paths, customer data, proprietary binaries, or exploit deta
0 commit comments