From b501d6f96af619fc7ba14a905e14113162f4226e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Litera?= Date: Wed, 13 Dec 2023 10:30:39 +0100 Subject: [PATCH] Fix(eslint-config-base): Require empty line after description in JSDoc * @see: https://github.com/gajus/eslint-plugin-jsdoc/issues/847 * @see: https://github.com/gajus/eslint-plugin-jsdoc/issues/1031 * @see: https://github.com/gajus/eslint-plugin-jsdoc/releases/tag/v42.0.0 refs #158 --- packages/eslint-config-base/optional.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/eslint-config-base/optional.js b/packages/eslint-config-base/optional.js index 740d7ae..66824f8 100644 --- a/packages/eslint-config-base/optional.js +++ b/packages/eslint-config-base/optional.js @@ -173,6 +173,11 @@ module.exports = { // @see: https://github.com/lmc-eu/cookie-consent-manager/pull/120 // https://github.com/gajus/eslint-plugin-jsdoc#require-returns-description 'jsdoc/require-returns-description': ['off'], + + // Require an empty line after description to ensure better readability + // @see: https://github.com/lmc-eu/code-quality-tools/issues/158 + // https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/tag-lines.md + 'jsdoc/tag-lines': ['warn', 'any', { startLines: 1 }], }, overrides: [