Add CodeQL config file (#186936)

* Add CodeQL config file

* Remove test.js line
This commit is contained in:
Raymond Zhao 2023-07-03 13:58:55 -07:00 committed by GitHub
parent 46ae53157a
commit a20dfe0552
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

23
CodeQL.yml Normal file
View file

@ -0,0 +1,23 @@
path_classifiers:
test:
# Classify all files in the top-level directories test/ and testsuites/ as test code.
- test
# Classify all files with suffix `.test` as test code.
# Note: use only forward slash / as a path separator.
# * Matches any sequence of characters except a forward slash.
# ** Matches any sequence of characters, including a forward slash.
# This wildcard must either be surrounded by forward slash symbols, or used as the first segment of a path.
# It matches zero or more whole directory segments. There is no need to use a wildcard at the end of a directory path because all sub-directories are automatically matched.
# That is, /anything/ matches the anything directory and all its subdirectories.
# Always enclose the expression in double quotes if it includes *.
- "**/*.test.ts"
# The default behavior is to tag all files created during the
# build as `generated`. Results are hidden for generated code. You can tag
# further files as being generated by adding them to the `generated` section.
generated:
# generated code.
- out
- "out-build"
- "out-vscode"
- "**/out/**"