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

investigate jsdoc in travis #52

Closed mozfreddyb closed 7 years ago

mozfreddyb commented 7 years ago

we document functions, but only mostly, not always. @jonathanKingston did this well for most of the functions he added, it would be a shame if we could not bind ourselves to that behavior.

jonathanKingston commented 7 years ago

JSDoc linting is something that is painful last time I checked doctrine the internal dependency is pretty incomplete.

However anyway basic linting can be done with: http://eslint.org/docs/rules/valid-jsdoc

mozfreddyb commented 7 years ago

I think eslint valid-jsdoc is good enough. Especially given that we already use eslint.