-
-
Notifications
You must be signed in to change notification settings - Fork 167
Closed
Labels
Description
Motivation
I have a different taste for JSDoc. Never saw anyone doing it but for me it just looks way better by not having an entire line wasted just for the opener / closer.
Example:
/** A function that should create your user entry.
*
* Resolve it when the function call is concluded.
*
* Throwing will call signOut. */
createUserDbEntry: (params: CreateUserDbEntry) => Promise<any>;
is WAY better (at least for me) than
/**
* A function that should create your user entry.
*
* Resolve it when the function call is concluded.
*
* Throwing will call signOut.
*/
createUserDbEntry: (params: CreateUserDbEntry) => Promise<any>;
Current behavior
multiline-blocks
options allow them, but do no enforce them. Everyday I have to manually fix my JSDocs to fit my taste.
Desired behavior
multiline-blocks
options to enforce that /**
is proceeded and */
is be preceded with text. They will remove newlines and stars between them and any text.
Alternatives considered
Change my taste. But NO! Lines are too important to be wasted with just two or three meta characters.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
brettz9c69-addepar and Zamiell