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

Unsupported Operator for AssignmentExpression - no support for logical nullish assignment operator #147

Closed gijsk closed 3 years ago

gijsk commented 3 years ago

Running:

foo ??= true

through this plugin fails with:

ERROR: Error in no-unsanitized: Unexpected Assignment. Please report a minimal code snippet to the developers at (github url)