Skip to content

chore: expand .gitignore and add .NET 8 devcontainer - #13

Merged
mr-miles merged 1 commit into
mainfrom
chore/gitignore-editorconfig-devcontainer
Apr 22, 2026
Merged

mr-miles merged 1 commit into
mainfrom
chore/gitignore-editorconfig-devcontainer

Conversation

@mr-miles

Copy link
Copy Markdown
Owner

Summary

  • Replace the minimal .gitignore with the canonical Visual Studio / .NET template (build outputs, tool caches, IDE files, coverage, etc.).
  • Add .devcontainer/devcontainer.json targeting mcr.microsoft.com/devcontainers/dotnet:1-8.0 with GitHub CLI + git features and recommended C# / EditorConfig / coverage-gutters extensions.
  • .editorconfig was left untouched — the existing file already encodes project-specific naming conventions (interfaces begin with I, async suffix, _camelCase private fields) and C# style preferences, so overwriting with a generic template would regress them.

Test plan

  • git status stays clean after dotnet restore / dotnet build (new ignore rules cover build outputs).
  • Open the repo in VS Code "Reopen in Container" — container builds, dotnet restore runs in postCreateCommand, dotnet build + dotnet test succeed inside the container.
  • Existing CI (.github/workflows/build.yml) remains green.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Apr 22, 2026 •

Copy link
Copy Markdown

✅ PR Diff Coverage

Metric Value
Added lines 284
Covered 0
Uncovered 284
Coverage 0%

Uncovered lines are shown as inline annotations on the diff.

@github-advanced-security github-advanced-security AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dotnet-diff-coverage found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

…ludes

- Replace minimal .gitignore with canonical Visual Studio / .NET template
  covering build outputs, tool caches, IDE files, coverage results, etc.
- Add .devcontainer/devcontainer.json targeting mcr.microsoft.com/devcontainers/dotnet:1-8.0
  with GitHub CLI + git features and recommended C# / EditorConfig / coverage extensions.
- Extend ToolConfig.DefaultExcludePatterns with .gitignore, .github/*,
  .devcontainer/*, and .editorconfig so the tool's own infra files are skipped
  from diff analysis.
- Leave existing .editorconfig untouched; it already encodes project-specific
  naming conventions and C# style preferences.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mr-miles
mr-miles force-pushed the chore/gitignore-editorconfig-devcontainer branch from 5444718 to 2a60ff9 Compare April 22, 2026 18:40
@mr-miles
mr-miles merged commit 50816bb into main Apr 22, 2026
4 checks passed
@mr-miles
mr-miles deleted the chore/gitignore-editorconfig-devcontainer branch April 22, 2026 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants