-
-
Notifications
You must be signed in to change notification settings - Fork 168
Closed
Labels
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).
evanwarner, nifr, mike-lischke, ST-DDT, Shinigami92 and 4 more