docs(copilot): add copilot review instructions for PRs (#19064)

cc @overlookmotel it should hopefully prevent copilot from reporting
errors on stuff like unused variables in test case files
This commit is contained in:
Cameron authored and GitHub committed 2026-02-06 21:24:17 +08:00
1 parent ed759d11eb
commit a7b6824fe5
1 file changed
+11
+11
View File
@@ -0,0 +1,11 @@
# Copilot Review Instructions
When reviewing pull requests in this repository:
- Treat files inside any `fixtures` directories as test data, not production code.
- Fixture files may intentionally contain buggy, unsafe, or syntactically invalid code to validate parser/linter/transformer behavior.
- Do not report normal code-quality or correctness issues for fixture files.
- You may report a fixture issue only when the test data appears incorrect or mislabeled:
- The folder or filename does not match what the test claims to cover.
- The fixture content does not actually test the described case.
- The fixture appears accidentally broken rather than intentionally crafted.