Skip to content

Commit

Permalink
Ignore lines with pragma: codespell-ignore and ignore one such false …
Browse files Browse the repository at this point in the history
…positive
  • Loading branch information
yarikoptic committed Jan 15, 2024
1 parent 22b26f1 commit fe33a90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .codespellrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
skip = .git,*.pdf,*.svg,go.sum,*.css,.codespellrc,*-lock.yaml
check-hidden = true
# Python regex. Ignore some variable
ignore-regex = \b(classE|curveLinear|afterAll|totalY)\b
ignore-regex = \b(classE|curveLinear|afterAll|totalY)\b|.*\bpragma: codespell-ignore.*
ignore-words-list = fo,ot,thi,te,implementors,cript,composit,lightening
2 changes: 1 addition & 1 deletion cypress/platform/xss4.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
let diagram = '%%{init: {"flowchart": {"htmlLabels": "true"}} }%%\n';
diagram += 'flowchart\n';
diagram += 'A["<ifra';
diagram += "me srcdoc='<scrip";
diagram += "me srcdoc='<scrip"; // pragma: codespell-ignore
diagram += 't src=http://localhost:9000/exploit.js>';
diagram += '</scr';
diagram += 'ipt>\'></iframe>"]';
Expand Down

0 comments on commit fe33a90

Please sign in to comment.