Skip to content

Commit

Permalink
svelte-html-usages.yaml: add serializeJsonLD
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon committed Sep 14, 2023
1 parent 595c512 commit ad4fe3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion assets/semgrep_rules/services/svelte-html-usages.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@
i18n, key, {}
)}
<!-- ok: svelte-html-usages -->
{@html MyIcon}
{@html MyIcon}
<!-- ok: svelte-html-usages -->
{@html serializeJsonLD({})}
1 change: 1 addition & 0 deletions assets/semgrep_rules/services/svelte-html-usages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ rules:
- pattern-regex: \{@html\s+[^A-Z]
- pattern-not-regex: \{@html\s+safeTranslate\(
- pattern-not-regex: \{@html\s+sanitize\(
- pattern-not-regex: \{@html\s+serializeJsonLD\(

0 comments on commit ad4fe3d

Please sign in to comment.