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

- Enhancement: Avoid need for `plugins` when using `extends` #112

Closed brettz9 closed 4 years ago

brettz9 commented 4 years ago

You can see at https://eslint.org/docs/6.0.0/developer-guide/working-with-plugins#configs-in-plugins that plugins can be included within configs (we do so in various linting projects, e.g., eslint-plugin-jsdoc).

I also fixed mention of the config file which was misspelled (see https://eslint.org/docs/user-guide/configuring#configuration-file-formats ).