Skip to content

Commit aadb4ce

Browse files
khiga8dgreif
authored andcommitted
Update no-inner-html.md
1 parent 3d38ceb commit aadb4ce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/rules/no-inner-html.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88

99
Using `innerHTML` poses a potential security risk. Prefer using `textContent` to set text to an element.
1010

11-
https://github.com/github/paste-markdown/security/advisories/GHSA-gpfj-4j6g-c4w9
11+
[Related security notification](https://github.com/github/paste-markdown/security/advisories/GHSA-gpfj-4j6g-c4w9)
12+
13+
It may be reasonable to disable this rule in testing setups that use known, trusted input and carry little security risk.
1214

1315
👎 Examples of **incorrect** code for this rule:
1416

0 commit comments

Comments
 (0)