Home / Companies / Aspect Build / Blog / Post Details
Content Deep Dive

Aspect's rules_lint Reaches 2.0

Blog post from Aspect Build

Post Details
Company
Date Published
Author
Alex Eagle
Word Count
523
Language
English
Hacker News Points
-
Summary

Aspect rules_lint version 2.0 offers a comprehensive Bazel ruleset to integrate linting and formatting as core functionalities, supporting 30 languages and enhanced through contributions from over 60 open-source contributors. The release introduces the Aspect Extension Language (AXL) to streamline command-line tasks, alongside full Bazel 9 support, including Bzlmod module_extension for tool fetching. The update features improved modularity with standalone Bazel modules per language and incorporates new tools like the Ty Python type-checker and Rust’s Clippy for automatic code fixes. The ruleset emphasizes minimal disruption to existing workflows by enabling linting and formatting without altering BUILD targets, and supports incremental and cache-friendly actions beneficial for legacy repositories. Marvin, the platform's Bazel bot, assists in code reviews by providing lint results and suggested fixes directly in GitHub checks, enhancing developer productivity and code quality.