Skip to content

Commit a47d433

Browse files
committed
chore: minor deps udpate
1 parent 3097a53 commit a47d433

File tree

2 files changed

+30
-4
lines changed

2 files changed

+30
-4
lines changed

AGENTS.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# AGENTS.md
2+
3+
## Build, Lint, and Test
4+
5+
- Build: `./build.sh` (Unix) or `.\build.cmd` (Windows)
6+
- Lint/format: `dotnet csharpier check .`
7+
- Test all: `dotnet test Clippit.Tests/`
8+
- Run a single test: `dotnet test --filter "FullyQualifiedName~TestName"`
9+
10+
## Code Style Guidelines
11+
12+
- Use 4 spaces for C# code, 2 for XML/JSON/scripts
13+
- Place System.\* usings first; no separated import groups
14+
- Prefer `var` for type declarations
15+
- Naming:
16+
- PascalCase for types, methods, properties, constants
17+
- camelCase for locals, parameters
18+
- Static fields: `s_` prefix, camelCase
19+
- Instance fields: `_` prefix, camelCase
20+
- Newline before open braces; always use braces for blocks
21+
- Prefer modern C# features (object/collection initializers, null propagation, etc.)
22+
- Enable nullable reference types and implicit usings
23+
- Use language keywords (`var`, `int`, etc.) over framework types
24+
- Prefer explicit error handling; warnings are not errors
25+
26+
No Cursor or Copilot rules are present.

Clippit.Tests/Clippit.Tests.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
<ProjectReference Include="..\Clippit\Clippit.csproj" />
1010
</ItemGroup>
1111
<ItemGroup>
12-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
13-
<PackageReference Include="xunit.v3" Version="3.0.1" />
14-
<PackageReference Include="xunit.v3.runner.console" Version="3.0.1">
12+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.0" />
13+
<PackageReference Include="xunit.v3" Version="3.1.0" />
14+
<PackageReference Include="xunit.v3.runner.console" Version="3.1.0">
1515
<PrivateAssets>all</PrivateAssets>
1616
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1717
</PackageReference>
18-
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.4">
18+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
1919
<PrivateAssets>all</PrivateAssets>
2020
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2121
</PackageReference>

0 commit comments

Comments
 (0)