ericcornelissen/js-regex-security-scanner

Add support for JSX

Closed this issue · 0 comments

Relates to #4


Summary

Add support for properly scanning projects that use JSX.

At v0.2.6, running this scanner on a project with JSX source code (in .js files, or similar) will result in errors like:

X:Y  error  Parsing error: Unexpected token <

This change should include adding .jsx and .tsx extensions in the scope of the scanner.