apostrophecms / sanitize-html

Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis. Built on htmlparser2 for speed and tolerance
MIT License
3.68k stars 349 forks source link

Upgraded mocha version and applied some lint fixes in tests #611

Closed VitaliiShpital closed 1 year ago

VitaliiShpital commented 1 year ago

Summary

Upgraded mocha version and applied some linter fixes in tests. Also added .idea (jetbrains IDE) temp files to .gitignore Closes #610

What are the specific steps to test this change?

  1. clone repo
  2. run npm install
  3. run npm audit
  4. run npm run test

What kind of change does this PR introduce?

(Check at least one)

Make sure the PR fulfills these requirements:

VitaliiShpital commented 1 year ago

@BoDonkey done!