mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
14 lines
260 B
Plaintext
14 lines
260 B
Plaintext
/**
|
|
* @id js/examples/jsxattribute
|
|
* @name JSX attributes
|
|
* @description Finds JSX attributes named `dangerouslySetInnerHTML`
|
|
* @tags JSX
|
|
* attribute
|
|
*/
|
|
|
|
import javascript
|
|
|
|
from JsxAttribute a
|
|
where a.getName() = "dangerouslySetInnerHTML"
|
|
select a
|