From e5b8584ff8b49a14594d55c1255088ccca34c751 Mon Sep 17 00:00:00 2001 From: Michael Glass Date: Tue, 26 Mar 2024 18:34:54 +0100 Subject: [PATCH] enforce more documentation types --- packages/eslint-config-nlx/documentation.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/eslint-config-nlx/documentation.js b/packages/eslint-config-nlx/documentation.js index 5a8faf4d..7002fe9b 100644 --- a/packages/eslint-config-nlx/documentation.js +++ b/packages/eslint-config-nlx/documentation.js @@ -3,6 +3,7 @@ module.exports = { extends: ["plugin:jsdoc/recommended-typescript-error"], plugins: ["eslint-plugin-tsdoc"], rules: { + "jsdoc/require-jsdoc": ["error", {publicOnly: true, contexts: ["TSTypeAliasDeclaration","TSInterfaceDeclaration","TSMethodSignature","TSPropertySignature"] }], "jsdoc/check-tag-names": ["error", { definedTags: ["category", "hidden"] }], "jsdoc/require-param": ["error", { checkDestructured: false }], "jsdoc/check-param-names": ["error", { checkDestructured: false }],