mirror of
https://github.com/aya-rs/aya.git
synced 2026-09-27 10:02:34 +02:00
Use rules_lint's repository-wide formatter with a pinned prebuilt Buildifier. Git-based discovery includes BUILD files across Bazel package boundaries without a second source list. Keep the formatter in its own package and omit it from source archives. Downstream modules skip dev dependencies, so recursive target discovery must not load formatter rules. Run the check separately from remote tests so it inspects the checkout on each CI host. Set check mode explicitly so linting cannot silently rewrite formatting errors.
4 lines
131 B
Plaintext
4 lines
131 B
Plaintext
# Exclude dev-only Bazel packages from downstream target discovery.
|
|
/bazel/format export-ignore
|
|
/scripts/BUILD.bazel export-ignore
|