From 90b9597d500c528d46aa13ccfa678a86ef7ea22b Mon Sep 17 00:00:00 2001 From: Jon Parise Date: Sun, 21 Feb 2021 04:35:26 -0800 Subject: Add a buildifier fixer for Bazel files (#3499) This fixer enables buildifier's formatting and "lint fix" modes. Additional options can be provided via `bazel_buildifier_options`. It also implements some basic logic for guessing the file's type. buildifier itself usually does this based on the filenames provided on the command line, but because we're piping our buffer via stdin, we need to do this manually. --- test/command_callback/bazel_paths/BUILD | 0 test/command_callback/bazel_paths/WORKSPACE | 0 test/command_callback/bazel_paths/defs.bzl | 0 3 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 test/command_callback/bazel_paths/BUILD create mode 100644 test/command_callback/bazel_paths/WORKSPACE create mode 100644 test/command_callback/bazel_paths/defs.bzl (limited to 'test/command_callback') diff --git a/test/command_callback/bazel_paths/BUILD b/test/command_callback/bazel_paths/BUILD new file mode 100644 index 00000000..e69de29b diff --git a/test/command_callback/bazel_paths/WORKSPACE b/test/command_callback/bazel_paths/WORKSPACE new file mode 100644 index 00000000..e69de29b diff --git a/test/command_callback/bazel_paths/defs.bzl b/test/command_callback/bazel_paths/defs.bzl new file mode 100644 index 00000000..e69de29b -- cgit v1.2.3