google-java-format is a Java code formatter and style enforcement tool. It reformats Java source code to adhere to a standardized style guide, ensuring consistent layout and indentation across entire projects or individual files.
The main features of google/google-java-format are: Formatting Engines, Source Code Formatters, Source Code Rewriting, Coding Style Tools, Layout Formatters, Style Rule Sets, Style Guide Enforcers, Recursive Descent Parsers.
Open-source alternatives to google/google-java-format include: mvdan/gofumpt — gofumpt is a Go language tool and source code formatter. It functions as an opinionated code styler that applies a… rust-lang-nursery/rustfmt — rustfmt is a tool that automatically rewrites Rust source code to adhere to a consistent and standardized style guide.… pycqa/pycodestyle — pycodestyle is a Python code quality utility that checks source files against the PEP 8 style guide, reporting… jscs-dev/node-jscs — node-jscs is a JavaScript linter and code style checker designed to analyze source code and enforce consistent coding… openrewrite/rewrite — OpenRewrite is an automated refactoring engine and source-to-source migration framework. It uses a lossless semantic… rust-lang/rustfmt — rustfmt is a Rust code formatter that operates as a Cargo subcommand, applying consistent formatting to Rust source…
gofumpt is a Go language tool and source code formatter. It functions as an opinionated code styler that applies a strict and consistent visual style to Go source files to ensure a standardized appearance across a codebase. The tool enforces a more rigid and deterministic set of layout constraints than the standard Go toolchain. It is designed for Go project style enforcement to eliminate trivial diffs and stylistic inconsistencies. The project supports Go source code formatting and continuous integration linting to automatically check and correct formatting during the build process.
rustfmt is a tool that automatically rewrites Rust source code to adhere to a consistent and standardized style guide. It functions as both a code formatter for transforming source files and a style linter used to verify if code matches required formatting rules. The system is configurable, allowing for the definition of custom formatting rules and language editions through configuration files to override default styles. It also supports selective formatting by using dedicated skip markers to prevent specific blocks of code from being modified. The tool provides capabilities for both source
pycodestyle is a Python code quality utility that checks source files against the PEP 8 style guide, reporting deviations as a static analysis tool. Its primary function is to enforce consistent code formatting by scanning files and flagging violations with precise line and column numbers for direct integration into editors or workflows. The tool combines token-based pattern matching with abstract syntax tree (AST) context enrichment, enabling it to evaluate both surface-level formatting and deeper structural patterns. Its architecture supports custom validation rules through a plugin interfa
node-jscs is a JavaScript linter and code style checker designed to analyze source code and enforce consistent coding standards. It functions as a static analysis tool that identifies patterns in JavaScript code to ensure adherence to defined style guides. The project provides capabilities for both JavaScript code linting and automated code formatting. It can check source code for style violations and automatically correct those errors to align the codebase with a specified set of formatting rules.