Skip to content

Commit fb0af07

Browse files
authored
Update CodeQL guidelines and QLDoc requirements
Added guidelines for CodeQL source files and QLDoc requirements.
1 parent 0c29859 commit fb0af07

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/copilot-instructions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ A query **must** include:
7575
- Instead of `Call to banned function.` prefer `Call to banned function foobar.`.
7676
- Instead of `Return value from call is unused.` prefer `Return value from call to function [x] is unused.`, where `[x]` is a link to the function itself.
7777
- Do not try to explain the solution in the message; instead that should be provided in the help for the query.
78+
79+
All lines in CodeQL source files and test files should be kept to a maximum of 100 characters.
7880

7981
All public predicates, classes, modules and files should be documented with QLDoc. All QLDoc should follow the following QLDoc style guide:
8082

0 commit comments

Comments
 (0)