Skip to content

Commit f37aba2

Browse files
committed
chore: Ignore invalid semgrep issues
1 parent b0cec48 commit f37aba2

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

playwright.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default defineConfig({
3636
name: 'firefox',
3737
use: { ...devices['Desktop Firefox'] },
3838
},
39-
// FIXME: Broken in both CI and on local dev machines.
39+
// FIXME: Webkit is broken in both CI and on local dev machines.
4040
// {
4141
// name: 'webkit',
4242
// use: { ...devices['Desktop Safari'] },

src/components/Editor.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export function Editor(): EditorComponent {
3737
root.setContent = (code) => {
3838
// TODO: Using innerHTML could be a security issue so consider a refactor
3939
// to use textContent/innerText and DOM methods
40+
// nosemgrep: javascript.browser.security.insecure-document-method.insecure-document-method
4041
root.innerHTML = code
4142
.split('\n')
4243
.map((line) => `<li>${line || '<br>'}</li>`)

0 commit comments

Comments
 (0)