scalastyle
« Back to VersTracker
Description:
Run scalastyle from the command-line
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: scala linter code-quality style-checker developer-tools
Install: brew install scalastyle
About:
Scalastyle is a command-line interface tool that examines Scala source code for style and consistency issues based on a configurable ruleset. It integrates with build tools and CI pipelines to enforce coding standards and maintain code quality across projects. The tool provides detailed reports on violations, helping teams adhere to best practices and improve code readability.
Key Features:
  • Configurable ruleset via XML files
  • Integration with build tools like SBT and Maven
  • Multiple output formats including plain text and XML
  • Support for custom rules and checks
Use Cases:
  • Enforcing coding standards in CI/CD pipelines
  • Automated code reviews for pull requests
  • Maintaining consistency in large Scala codebases
Alternatives:
  • Scalafmt – Scalafmt focuses on automatic code formatting, while Scalastyle emphasizes style rule enforcement and linting.
  • WartRemover – WartRemover is a compiler plugin for error-prone code detection, whereas Scalastyle is a linter for style guidelines.
Version History
Detected Version Rev Change Commit