valid-jsdoc.js 780 B

12345678910111213141516171819202122232425
  1. /* This Source Code Form is subject to the terms of the Mozilla Public
  2. * License, v. 2.0. If a copy of the MPL was not distributed with this
  3. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  4. "use strict";
  5. module.exports = {
  6. plugins: ["jsdoc"],
  7. rules: {
  8. "jsdoc/check-access": "error",
  9. // Handled by prettier
  10. // "jsdoc/check-alignment": "error",
  11. "jsdoc/check-param-names": "error",
  12. "jsdoc/check-property-names": "error",
  13. "jsdoc/check-tag-names": "error",
  14. "jsdoc/check-types": "error",
  15. "jsdoc/empty-tags": "error",
  16. "jsdoc/newline-after-description": "error",
  17. "jsdoc/no-multi-asterisks": "error",
  18. "jsdoc/require-param-type": "error",
  19. "jsdoc/require-returns-type": "error",
  20. "jsdoc/valid-types": "error",
  21. },
  22. };