Skip to content

Commit

Permalink
Fix(eslint-config-base): Require empty line after description in JSDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
literat committed Dec 13, 2023
1 parent d6b37cb commit b501d6f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/eslint-config-base/optional.js
Expand Up @@ -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: [
Expand Down

0 comments on commit b501d6f

Please sign in to comment.