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 normalizeMethodName #146

Closed ebkhalilzadeh closed 3 years ago

ebkhalilzadeh commented 3 years ago

I was uploading my extension to the Firefox store for signing but got some strange errors and stayed in waiting mode. Here is my extension: swash-1.1.6.zip

I also attached the lint errors: lint.log

Is there any workaround for this issue?

mozfreddyb commented 3 years ago

We are unable to go through all submissions manually. Especially when it's minified code or bigger projects (like addons). Please submit the source code line that triggered the issue. A couple of lines context before/after are likely helpful.

mozfreddyb commented 3 years ago

@ebkhalilzadeh We're going to close this issue unless you can come up with a minimal test case.