Scruff

Scruff is an experimental, lightweight linter and formatter for Scala, built on top of Tree-Sitter Scala, and written in Rust.

Scruff formatter

Scruff formatter is a fast and normalizing Scala code formatter. Inspired by Python's code formatters like Black and Ruff, Scruff removes all configurations related to styling. See scruff fmt for more details.

Scruff linter

Scruff linter is an experimental syntactic Scala linter, that can process 400k sloc/s. See scruff check for more details.

License

Scruff is provided under MIT License.