style: enforce buildifier lint rules (#29019)

PR Close #29019
This commit is contained in:
Wassim Chegham
2019-02-28 01:12:05 +01:00
committed by Igor Minar
parent b06847f43d
commit 9226b421e8
32 changed files with 41 additions and 54 deletions

View File

@ -545,7 +545,7 @@ NG_MODULE_ATTRIBUTES = {
}
NG_MODULE_RULE_ATTRS = dict(dict(COMMON_ATTRIBUTES, **NG_MODULE_ATTRIBUTES), **{
"tsconfig": attr.label(allow_files = True, single_file = True),
"tsconfig": attr.label(allow_single_file = True),
"node_modules": attr.label(
doc = """The npm packages which should be available during the compile.

View File

@ -149,14 +149,12 @@ _protractor_web_test = rule(
doc = "Optional server executable target",
executable = True,
cfg = "target",
single_file = False,
allow_files = True,
),
"protractor": attr.label(
doc = "Protractor executable target (set by protractor_web_test macro)",
executable = True,
cfg = "target",
single_file = False,
allow_files = True,
),
"_conf_tmpl": attr.label(

View File

@ -8,7 +8,7 @@ filegroup(
visibility = ["//packages/bazel:__subpackages__"],
)
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
load("//tools:defaults.bzl", "jasmine_node_test")
jasmine_node_test(
name = "test",