mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +00:00
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:
1 parent
ed759d11eb
commit
a7b6824fe5
1 file changed
+11
@@ -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.
|
||||
Reference in new issue
Block a user