-
-
Notifications
You must be signed in to change notification settings - Fork 166
Closed
Description
Motivation
Indentation matters for readability, especially having a consistent indentation of documentation. I want to be able to use google style indentation for @parameter
and @return
as an example.
Current behavior
This might be part of check-indentation
but I could not get it work with it.
Desired behavior
I want this to be invalid:
/**
* Do something.
*
* @param {string} fooA - Some text
* @param {string} fooB - If defined, it foos
* a lot all day long.
*/
I want this to be valid (with the new rule)
/**
* Do something.
*
* @param {string} fooA - Some text
* @param {string} fooB - If defined, it foos
* a lot all day long. // This has been double-indented (4 spaces, we use 2 spaces for indents)
*/
This is called google style indent. It makes it easier to read the documentation.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
thernstig