Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added a check for comments inside JSX #49

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mcorrig4
Copy link

@mcorrig4 mcorrig4 commented Aug 4, 2021

The extension was "detecting" regular expressions inside of JSX comments (React code). I added a check to ignore these. You can see the problem that is fixed in the screenshot below.

image

I've never made a VS Code extension before so there is probably a lot of room for improvement here. Maybe adding something to settings to toggle this feature, or having this only happen inside .jsx and .tsx files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants