mirror of
https://github.com/github/codeql.git
synced 2026-02-16 15:03:41 +01:00
16 lines
374 B
Plaintext
16 lines
374 B
Plaintext
/**
|
|
* @name Import graph
|
|
* @description An edge in the import graph.
|
|
* @kind problem
|
|
* @problem.severity recommendation
|
|
* @id js/meta/alerts/import-graph
|
|
* @tags meta
|
|
* @precision very-low
|
|
*/
|
|
|
|
import javascript
|
|
|
|
from Import imprt, Module target
|
|
where target = imprt.getImportedModule()
|
|
select imprt, "Import targeting $@", target, target.getFile().getRelativePath()
|