mozilla / eslint-plugin-no-unsanitized

Custom ESLint rule to disallows unsafe innerHTML, outerHTML, insertAdjacentHTML and alike
Mozilla Public License 2.0
222 stars 33 forks source link

unexpected ConditionalExpression in normalizeMethodCall #174

Closed Giecik566 closed 2 years ago

mozfreddyb commented 2 years ago

Hi @Giecik566, this issue is not very helpful without any additional context.

Can you please try and reduce the error you are seeing to a specific source line and share that source line with us? Otherwise we will be unable to help you resolve your issue.