workspace: Adding bazel build formatter/linter

Adds in buildifier bazel targets that autoformat/lint the entire
WORKSPACE. This can be invoked by running;

'bazel run //:buildifier'

or

'bazel run //:buildifier_test'

Change-Id: Iaaf7f6241e29894eca94aa6b5d0ca3b33255b7f7
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/36160
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Keir Mierle <keir@google.com>
diff --git a/pw_web_ui/web_bundle.bzl b/pw_web_ui/web_bundle.bzl
index 0ac17ea..4aa9057 100644
--- a/pw_web_ui/web_bundle.bzl
+++ b/pw_web_ui/web_bundle.bzl
@@ -15,17 +15,17 @@
 load("@npm//@bazel/rollup:index.bzl", "rollup_bundle")
 
 def web_bundle(name, deps, entry_point):
-  rollup_bundle(
-      name = name,
-      deps = deps + [
-        "@npm//@rollup/plugin-node-resolve",
-        "@npm//@rollup/plugin-commonjs",
-        "@npm//rollup-plugin-node-builtins",
-        "@npm//rollup-plugin-node-globals",
-        "@npm//rollup-plugin-sourcemaps",
-      ],
-      entry_point = entry_point,
-      config_file = "//pw_web_ui:rollup.config.js",
-      sourcemap = "inline",
-      format = "cjs"
-  )
+    rollup_bundle(
+        name = name,
+        deps = deps + [
+            "@npm//@rollup/plugin-node-resolve",
+            "@npm//@rollup/plugin-commonjs",
+            "@npm//rollup-plugin-node-builtins",
+            "@npm//rollup-plugin-node-globals",
+            "@npm//rollup-plugin-sourcemaps",
+        ],
+        entry_point = entry_point,
+        config_file = "//pw_web_ui:rollup.config.js",
+        sourcemap = "inline",
+        format = "cjs",
+    )