build: add linting for bazel build files (#16090)

This commit is contained in:
Paul Gschwendtner
2019-06-03 20:19:45 +02:00
committed by Joey Perrott
parent 778fc34273
commit 8ba2f2259a
106 changed files with 4941 additions and 4167 deletions
+15 -15
View File
@@ -1,24 +1,24 @@
package(default_visibility=["//visibility:public"])
package(default_visibility = ["//visibility:public"])
load("@build_bazel_rules_nodejs//:defs.bzl", "nodejs_binary")
load("//tools:defaults.bzl", "ts_library")
ts_library(
name = "example-module-lib",
srcs = glob(["**/*.ts"]),
deps = [
"@npm//@types/node",
"@npm//typescript",
],
tsconfig = ":tsconfig.json",
name = "example-module-lib",
srcs = glob(["**/*.ts"]),
tsconfig = ":tsconfig.json",
deps = [
"@npm//@types/node",
"@npm//typescript",
],
)
nodejs_binary(
name = "bazel-bin",
entry_point = "angular_material/tools/example-module/bazel-bin.js",
data = [
"@npm//typescript",
":example-module-lib",
":example-module.template",
],
name = "bazel-bin",
data = [
":example-module.template",
":example-module-lib",
"@npm//typescript",
],
entry_point = "angular_material/tools/example-module/bazel-bin.js",
)