buildtools icon indicating copy to clipboard operation
buildtools copied to clipboard

A bazel BUILD file formatter and editor

Results 185 buildtools issues
Sort by recently updated
recently updated
newest added

Functionality of current rewrite is preserved by recreating original rewrite parameters from the table currently used. The new functionality will utilize the rewrite method with a receiver.

Does Buildifier support reading the lint rules from a configuration file? Something like Prettier or jshint do... The use case is that we need to run Buildifier with a subset...

This makes the integer division check more accurate when these expressions are involved.

I'd like a buildozer command that copies a rule. Right now buildozer has `copy ` to copy attribute values, and `new ` to make a new rule, but I would...

`unused_deps` doesn't seem to be working properly for dependencies from `rules_jvm_external`. I have attached an [example.zip](https://github.com/bazelbuild/buildtools/files/6115513/example.zip) which contains the `WORKSPACE` and `BUILD` files below and some additional files. The example...

It seems to me that a common use case for buildifier would be to have a rule that tests that all BUILD files conform to the lint rules. However, I...

It would be nice if I could automatically download the right artifact for my current system using something like: ``` curl -sSL https://github.com/bazelbuild/buildtools/releases/download/5.1.0/buildifier-linux-$(uname -m) ``` But I cannot, because the...

``` Deprecation of these values for the `-mode` flag is not planned. Closes: #1005 ``` Replaces #1072

given this example input ``` cc_library( name = "openssl", hdrs = glob(["include/**"]), includes = ["include"], deps = [ ":ssl_precompiled", ":crypto_precompiled", ], ) ``` running `buildozer 'comment deps do\ not\ sort'...