bazel-contrib / bazel-contrib/buildtools

Buildifier should respect .bazelignore

Open
#623 5 comments 27 reactions 0 assignees View on GitHub
P3
Dominant language
Go
Stars
1.2k
Forks
471
Avg merge
2d 22h
Merged PRs (30d)
13

Description

When I run `buildifier -r`, I think it should skip the same directories that Bazel itself skips.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the recursive directory traversal used by `buildifier -r` and how `.bazelignore` is represented or parsed in the repository. Compare the desired behavior with Bazel's skipped directories; the work is done when ignored directories are excluded from recursive formatting and the behavior is covered by the repository's tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
build-system, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.