Commit b048326
committed
fix: move eslint-disable-next-line to cover javascript: string literal
The multi-line if condition moved the 'javascript:' string to a line
no longer covered by the eslint-disable-next-line directive. Move the
comment inside the if condition so it correctly suppresses no-script-url
on the line containing the string literal.1 parent 426cae7 commit b048326
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments