mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
JavaScript: Add an (empty) Customizations.qll module.
Somewhat analogous to the `Options.qll` module in C++; see module comments for further explanation.
This commit is contained in:
12
javascript/ql/src/Customizations.qll
Normal file
12
javascript/ql/src/Customizations.qll
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Contains customizations to the standard library.
|
||||
*
|
||||
* This module is imported by `javascript.qll`, so any customizations defined here automatically
|
||||
* apply to all queries.
|
||||
*
|
||||
* Typical examples of customizations include adding new subclasses of abstract classes such as
|
||||
* `FileSystemAccess`, or the `Source` and `Sink` classes associated with the security queries
|
||||
* to model frameworks that are not covered by the standard library.
|
||||
*/
|
||||
|
||||
import javascript
|
||||
@@ -2,6 +2,8 @@
|
||||
* Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML.
|
||||
*/
|
||||
|
||||
import Customizations
|
||||
|
||||
import semmle.javascript.Aliases
|
||||
import semmle.javascript.AMD
|
||||
import semmle.javascript.AST
|
||||
|
||||
Reference in New Issue
Block a user