Skip to content

Commit

Permalink
Update 10-advanced.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ahpaleus authored Jun 21, 2024
1 parent 3458398 commit 2138be2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions content/docs/static-analysis/codeql/10-advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,12 @@ version.)

## Writing custom queries

{{< hint info >}}
To use CodeQL, you need access to the standard libraries and queries. We recommend using the starter workspace.
1. Clone the [vscode-codeql-starter](https://github.com/github/vscode-codeql-starter.git) repository to your computer: `git clone --recursive https://github.com/github/vscode-codeql-starter.git`.

Check failure on line 206 in content/docs/static-analysis/codeql/10-advanced.md

View workflow job for this annotation

GitHub Actions / markdown-linter

Line length

content/docs/static-analysis/codeql/10-advanced.md:206:131 MD013/line-length Line length [Expected: 130; Actual: 195] https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md013.md

Check failure on line 206 in content/docs/static-analysis/codeql/10-advanced.md

View workflow job for this annotation

GitHub Actions / markdown-linter

Lists should be surrounded by blank lines

content/docs/static-analysis/codeql/10-advanced.md:206 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "1. Clone the [vscode-codeql-st..."] https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md032.md
2. In VSCode, click **File** -> **Open Workspace from File** and open the `vscode-codeql-starter.code-workspace` file from the `vscode-codeql-starter` repository.

Check failure on line 207 in content/docs/static-analysis/codeql/10-advanced.md

View workflow job for this annotation

GitHub Actions / markdown-linter

Line length

content/docs/static-analysis/codeql/10-advanced.md:207:131 MD013/line-length Line length [Expected: 130; Actual: 162] https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md013.md
{{< /hint >}}

QL is a declarative language and CodeQL queries are expressed using an SQL-like
syntax on the following form:

Expand Down

0 comments on commit 2138be2

Please sign in to comment.