You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently had an issue where pronto blacklist read a new SVG file containing some binary image data, and produced a large number of errors:
app/webpack/images/renewal_discount/banner_image_desktop.svg:18 E: Do not use BUG
app/webpack/images/renewal_discount/banner_image_desktop.svg:18 E: Do not use WTF
app/webpack/images/renewal_discount/banner_image_desktop.svg:18 E: Do not use XXX
app/webpack/images/renewal_discount/banner_image_desktop.svg:18 E: Do not use BANG
Looking at the config, it looks like I can manually exclude each case like so:
blacklist:
- BUGoptions:
BUG:
exclude:
- '*.svg'
The problem is, I'm adding quite a lot of exemptions like this and it's quite likely that anther SVG with this kind of binary string would produce new errors.
What I'd like to do is provide a default list of exclude config which is checked alongside the specific exception. Perhaps outside the options parameter so that it does not conflict with a specific case:
I recently had an issue where pronto blacklist read a new SVG file containing some binary image data, and produced a large number of errors:
Looking at the config, it looks like I can manually exclude each case like so:
The problem is, I'm adding quite a lot of exemptions like this and it's quite likely that anther SVG with this kind of binary string would produce new errors.
What I'd like to do is provide a default list of
exclude
config which is checked alongside the specific exception. Perhaps outside theoptions
parameter so that it does not conflict with a specific case:I've had a quick look at the code, and there doesn't seem to be any way to do this, currently. Could this be added?
The text was updated successfully, but these errors were encountered: