File tree Expand file tree Collapse file tree 2 files changed +30
-4
lines changed
Expand file tree Collapse file tree 2 files changed +30
-4
lines changed Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments