Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Rule: enforce order of tags #195

Open
dtracers opened this issue Mar 24, 2016 · 2 comments
Open

New Rule: enforce order of tags #195

dtracers opened this issue Mar 24, 2016 · 2 comments

Comments

@dtracers
Copy link
Contributor

Maybe allow a way to enforce order of tags.
Examples


// in config
"enforceTagOrder: {"param", "returns"}

// valid
/**
 * @param param1
 * @param param2
 * @returns
 *.

// invalid
/**
 * @returns
 * @param param1
 * @param param2
 */
@qfox
Copy link
Member

qfox commented Mar 24, 2016

Yeah, nice idea. ;-)

What to do with not listed tags? Should they placed before or after?
Or maybe we should just report order between listed tags and keep the rest at their places? (More polite way, I guess).

@dtracers
Copy link
Contributor Author

That was what I was thinking. Then you could use the presets for the
different languages
On Mar 24, 2016 2:35 PM, "Alexej Yaroshevich" [email protected]
wrote:

Yeah, nice idea. ;-)

What to do with not listed tags? Should they placed before or after?
Or maybe we should just report order between listed tags and keep the rest
at their places? (More polite way, I guess).


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#195 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants