Documentation Index
Fetch the complete documentation index at: https://docs.aspect.build/llms.txt
Use this file to discover all available pages before exploring further.
Documentation for @aspect_rules_lint@v2.1.0 — View source
tools/lint/linters.bzl:
// keep-sorted start / // keep-sorted end lines to your library sources,
following the documentation at https://github.com/google/keep-sorted#usage.
Function: keep_sorted_action
Run keep-sorted as an action under Bazel.
Parameters
Bazel Rule or Aspect evaluation context
label of the the keep-sorted program
files to be linted
output file containing stdout
output file containing exit code
If None, then fail the build when program exits non-zero.
additional command-line options
output file for patch (optional). If provided, uses run_patcher instead of run_shell.
Function: lint_keep_sorted_aspect
A factory function to create a linter aspect.
Parameters
a keep-sorted executable

