Skip to content

Commit 4d6795d

Browse files
authored
Have copilot handle formatting better (#51114)
2 parents 3133f8d + 9043509 commit 4d6795d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/copilot-instructions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Coding Style and Changes:
55
- When generating code, run `dotnet format` to ensure uniform formatting.
66
- Prefer using file-based namespaces for new code.
77
- Do not allow unused `using` directives to be committed.
8+
- Commit your changes, and then format them.
9+
- Add the format commit SHA to the .git-blame-ignore-revs file so that the commit doesn't dirty git blame in the future
810
- Use `#if NET` blocks for .NET Core specific code, and `#if NETFRAMEWORK` for .NET Framework specific code.
911

1012
Testing:

0 commit comments

Comments
 (0)