mozilla / eslint-plugin-no-unsanitized

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

latest commit broke export #49

Closed lutostag closed 7 years ago

lutostag commented 7 years ago

After installing and running I get the following.

$ /home/lutostag/src/webextension-formsave/node_modules/.bin/standard --plugin no-unsanitized                                                                                                                                    
standard: Unexpected linter output:

Error: Failed to load plugin no-unsanitized: Cannot find module './lib/rules/no-unsanitized'

Latest commit broke index.js export by removing the lib/rules/no-unsanitized.js file. HEAD~ does not have this problem.

mozfreddyb commented 7 years ago

We're in the progress of rewriting things (#45), I think you just caught us in the middle of a somewhat unusual situation. Please sit tight while we fix this. @jonathanKingston said he would get to it this week, is that still correct?

jonathanKingston commented 7 years ago

@mozfreddyb the latest pr should fix this until further work is done :)