Skip to content

Fix code scanning alert #2: DOM text reinterpreted as HTML

Sign in for the full log view
GitHub Actions / ESLint Report Analysis failed Sep 19, 2024 in 0s

ESLint Report Analysis

7 ESLint error(s) and 0 ESLint warning(s) found

Annotations

Check failure on line 15 in assets/js/admin-pull.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

assets/js/admin-pull.js#L15

[prettier/prettier] Replace `str` with `·str·`

Check failure on line 16 in assets/js/admin-pull.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

assets/js/admin-pull.js#L16

[prettier/prettier] Replace `····return·encodeURIComponent(str).replace(/[!'()*]/g,·(c` with `↹return·encodeURIComponent(·str·).replace(·/[!'()*]/g,·(·c·`

Check failure on line 17 in assets/js/admin-pull.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

assets/js/admin-pull.js#L17

[prettier/prettier] Replace `········return·'%'·+·c.charCodeAt(0).toString(16` with `↹↹return·'%'·+·c.charCodeAt(·0·).toString(·16·`

Check failure on line 18 in assets/js/admin-pull.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

assets/js/admin-pull.js#L18

[prettier/prettier] Replace `····}` with `↹}·`

Check failure on line 98 in assets/js/admin-pull.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

assets/js/admin-pull.js#L97-L98

[prettier/prettier] Replace `⏎↹↹escapeURLComponent(choosePostType.options[·choosePostType.selectedIndex·].value` with `·escapeURLComponent(⏎↹↹choosePostType.options[·choosePostType.selectedIndex·].value⏎↹`

Check failure on line 100 in assets/js/admin-pull.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

assets/js/admin-pull.js#L99-L100

[prettier/prettier] Replace `⏎↹↹escapeURLComponent(` with `·escapeURLComponent(⏎↹↹`

Check failure on line 102 in assets/js/admin-pull.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

assets/js/admin-pull.js#L102

[prettier/prettier] Insert `⏎↹`