Skip to content
/ unindent Public

Report code that is unnecessarily indented

License

Notifications You must be signed in to change notification settings

mvdan/unindent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unindent

go get -u mvdan.cc/unindent

Reports code that is unnecessarily indented. Examples include:

for _, elem := range list {
	if cond {
		// here be many lines
	}
}
if cond1 {
	if cond2 {
		// here be many lines
	}
}
if cond1 {
} else {
	if cond2 {
		// here be many lines
	}
}

About

Report code that is unnecessarily indented

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages