All Projects → mvdan → unindent

mvdan / unindent

Licence: BSD-3-Clause license
Report code that is unnecessarily indented

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to unindent

rubocop-graphql
Rubocop extension for enforcing graphql-ruby best practices
Stars: ✭ 143 (+694.44%)
Mutual labels:  linter
command line lint
This script generates a report against your command-line history and suggests workflow improvements.
Stars: ✭ 42 (+133.33%)
Mutual labels:  linter
stein
A linter for config files with a customizable rule set
Stars: ✭ 92 (+411.11%)
Mutual labels:  linter
riskybird
Regular expression authors best friend
Stars: ✭ 48 (+166.67%)
Mutual labels:  linter
linter-alex
📝Sensitive, considerate writing before you merge your Pull Requests
Stars: ✭ 67 (+272.22%)
Mutual labels:  linter
check-geojson
a checker for the geojson format. goes beyond a schema, checking semantics and producing character-level warnings.
Stars: ✭ 36 (+100%)
Mutual labels:  linter
asterisklint
Asterisk PBX configuration syntax checker
Stars: ✭ 45 (+150%)
Mutual labels:  linter
constyble
CSS complexity linter
Stars: ✭ 92 (+411.11%)
Mutual labels:  linter
linter-elixirc
Atom Linter plugin for ElixirC
Stars: ✭ 14 (-22.22%)
Mutual labels:  linter
makefiles
No description or website provided.
Stars: ✭ 23 (+27.78%)
Mutual labels:  linter
eslintcc
Complexity of Code - JavaScript/TypeScript
Stars: ✭ 15 (-16.67%)
Mutual labels:  linter
eslint-config
🚀 Jetrockets Standarts | ESLint
Stars: ✭ 20 (+11.11%)
Mutual labels:  linter
tagref
Tagref helps you maintain cross-references in your code.
Stars: ✭ 92 (+411.11%)
Mutual labels:  linter
standard-www
👆 Website for JavaScript Standard Style (@standard)
Stars: ✭ 28 (+55.56%)
Mutual labels:  linter
atom-perl6-editor-tools
A collection of useful Perl 6 editor tools
Stars: ✭ 19 (+5.56%)
Mutual labels:  linter
filename-simplifier
☄ Simplify your library
Stars: ✭ 14 (-22.22%)
Mutual labels:  simplify
vscode-write-good
Write Good Linter for Visual Studio Code
Stars: ✭ 58 (+222.22%)
Mutual labels:  linter
elm-review
Analyzes Elm projects, to help find mistakes before your users find them.
Stars: ✭ 195 (+983.33%)
Mutual labels:  linter
golangci-lint
Fast linters Runner for Go
Stars: ✭ 11,019 (+61116.67%)
Mutual labels:  linter
predeclared
Find definitions and declarations in Go source code that shadow predeclared identifiers
Stars: ✭ 26 (+44.44%)
Mutual labels:  linter

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
	}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].