You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,17 @@ ASP.NET Core 9 web application (`src/XtremeIdiots.Portal.Web/`) providing the Xt
19
19
- Release builds treat warnings as errors and precompile Razor views.
20
20
- Integration tests are filtered out by default; add new tests to `src/XtremeIdiots.Portal.Web.Tests/`.
21
21
22
+
## Copilot Local Validation Gate (Required)
23
+
24
+
Before declaring a Copilot-authored change complete, run these commands locally as a strict gate aligned with CI expectations and to fail fast on style/analyzer regressions (for example IDE0370 unnecessary suppressions):
25
+
26
+
```bash
27
+
dotnet test src --filter "FullyQualifiedName!~IntegrationTests" /p:ContinuousIntegrationBuild=true /p:TreatWarningsAsErrors=true
28
+
dotnet format src/XtremeIdiots.Portal.Web.sln --verify-no-changes --severity warn
29
+
```
30
+
31
+
If either command fails, fix the reported diagnostics before opening/updating a PR.
32
+
22
33
## Front-End Assets (SCSS)
23
34
24
35
- SCSS source lives under `src/XtremeIdiots.Portal.Web/Styles/`; see [docs/css-architecture-guide.md](docs/css-architecture-guide.md).
0 commit comments