Closed bennycode closed 6 years ago
Sorry for the long delay in my response. I was on parental leave for the last month and am still in the process of catching up with backlog.
Thank you for the detailed report, I'll try to get to it within this week. heads up to @jonathanKingston, I'll ask you for a review then.
@bennyn I just published v2.0.2 which has a fix for this issue. Thank you for using our tiny plugin and submitting useful, detailed reports! Please let us know if you discover anything else in the future.
@mozfreddyb Thanks for publishing the fix! 🤗
We immediately applied your plugin in our codebase:
Well done! 👍
I tested
eslint-plugin-no-unsanitized
and got the following output:It seems like the plugin doesn't like
return this().trim();
&this(value.trim());
in:Here are the links to the specific lines of
CommonBindings.js
(which the plugin complains about):