mozilla / eslint-plugin-no-unsanitized

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

move eslint to peer dependencies, loosen version requirements #77

Closed spalger closed 6 years ago

spalger commented 6 years ago

As recommended by the eslint documentation, moves eslint to peerDependencies and uses >= 3 version specifier to allow users flexibility. Also adds eslint to dev dependencies as it is used by this project.

mozfreddyb commented 6 years ago

That's right. Thank you @spalger!

(For posterity, the PR author pointed to https://eslint.org/docs/developer-guide/shareable-configs#publishing-a-shareable-config but probably wanted to point to https://eslint.org/docs/developer-guide/working-with-plugins#peer-dependency (not that it makes a big difference for this pull request))