Closed
Description
Motivation
Line breaks matters for readability, especially having a consistent line break style in documentation. I want to be able to enforce line breaks before @returns
statements.
Current behavior
There is no configuration for it.
Desired behavior
I want this to be invalid:
/**
* Do something.
*
* @param {string} fooA - Some text
* @returns {string} fooB - Some text
*/
I want this to be valid (with the new rule)
/**
* Do something.
*
* @param {string} fooA - Some text
*
* @returns {string} fooB - Some text
*/
Or for those who prefer, the other way around (the first example valid, the second invalid).