Debian Codegraph @

bazel/BUILD.bazel

raw
1 load("@buildifier_prebuilt//:rules.bzl", "buildifier")
2
3 package(
4 default_applicable_licenses = ["//:license"],
5 )
6
7 licenses(["notice"])
8
9 # Sample usage: "bazel run //bazel:buildifier".
10 buildifier(
11 name = "buildifier",
12 exclude_patterns = [
13 "./bazel/rbe/gce_linux/*",
14 "./modules/*",
15 "./node_modules/*",
16 "./**/node_modules/*",
17 "./third_party/externals/*",
18 ],
19 lint_mode = "fix",
20 lint_warnings = [
21 # Prevents https://github.com/bazelbuild/buildtools/blob/master/WARNINGS.md#native-android.
22 "-native-android",
23 # Prevents https://github.com/bazelbuild/buildtools/blob/master/WARNINGS.md#native-cc.
24 "-native-cc",
25 # Prevents https://github.com/bazelbuild/buildtools/blob/master/WARNINGS.md#native-py.
26 "-native-py",
27 ],
28 visibility = ["//visibility:public"],
29 )