bazelbuild/bazel

user.bazelrc or .bazelrc.user?

Open

#28,839 opened on Feb 28, 2026

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Java (4,465 forks)batch import
P2help wantedteam-Documentationteam-OSStype: documentation (cleanup)

Repository metrics

Stars
 (25,384 stars)
PR merge metrics
 (Avg merge 11d 12h) (44 merged PRs in 30d)

Description

Page link:

No response

Problem description (include actual vs expected text, if applicable):

Bazel best practices recommends

try-import %workspace%/user.bazelrc

But rules-template has

try-import %workspace%/.bazelrc.user

Which is it? It would be nice to be consistent, for users to be able to override project flags in a predictable location.

Where do you see this issue? (include link to specific section of the page, if applicable)

No response

Any other information you'd like to share?

No response

Contributor guide