Skip to content

Notice and skip emojis and HTML entities #105

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

Closed
igorsantos07 opened this issue May 19, 2023 · 1 comment · Fixed by #108
Closed

Notice and skip emojis and HTML entities #105

igorsantos07 opened this issue May 19, 2023 · 1 comment · Fixed by #108

Comments

@igorsantos07
Copy link

First of all, this plugin is life-changing for my team of lazy devs 😂

But then, we noticed we every now and then need to use the (verbose) eslint-disable comment in places that really don't need to be translated, namely strings composed of emojis or entities/symbols (such as the infamous × for popup closure).

It would be great if the plugin was able to identify that and skip notifying.

@edvardchen
Copy link
Owner

kinda similar to #93.

I think it might be feasible to ignore emoji and html entities

The basic idea is to find a list of appropriate regex which represent these special characters and add them into the default configuration words.exclude .

It takes time to try it out

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 a pull request may close this issue.

2 participants