File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 1+ Use the instructions from the main branch if available: @dotnet/sdk /files/.github/copilot-instructions.md
2+
3+ If the instructions from main are not available, use the following as a fallback:
4+
15Coding Style and Changes:
26- Code should match the style of the file it's in.
37- Changes should be minimal to resolve a problem in a clean way.
48- User-visible changes to behavior should be considered carefully before committing. They should always be flagged.
59- When generating code, run ` dotnet format ` to ensure uniform formatting.
610- Prefer using file-based namespaces for new code.
711- Do not allow unused ` using ` directives to be committed.
12+ - Commit your changes, and then format them.
13+ - Add the format commit SHA to the .git-blame-ignore-revs file so that the commit doesn't dirty git blame in the future
14+ - Use ` #if NET ` blocks for .NET Core specific code, and ` #if NETFRAMEWORK ` for .NET Framework specific code.
815
916Testing:
1017- Large changes should always include test changes.
You can’t perform that action at this time.
0 commit comments