eslint-plugin-spellcheck
eslint-plugin-spellcheck copied to clipboard
Keep color codes
Retain hash for color codes embedded in strings or tagged template literals. Currently these hash symbols are being stripped out incorrectly making it impossible to know that a word is in fact a color code.
Would love to see this merged.
Could this same funcionality be done by configuration using skipIfMatch paramater for the config? and adding the regexp there?
Let me check it out
My change simply adds a check for valid color codes and does not change the application logic or configuration parameters. I think it is the least impact change. Everything else in the library seems to work just fine
Yes, I saw your changes but i think we can do the same with a configuration parameter and without changing the code. I will always prefer the configuration solution over changes in the code. I will try to check this on these days. Thanks!