summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergei Vorobev <xvorsx@gmail.com>2021-01-30 15:22:48 -0800
committerGitHub <noreply@github.com>2021-01-30 18:22:48 -0500
commit9c8d873a75ccb2a8d3ed692148becb2e72514732 (patch)
tree6fd2319fa8629d81794b6593e1990fca9960ee83
parent7899a4b9312e97bcb684a474ce57e5b5fa0f06dd (diff)
ignore/types: improve bazel globs
Adds *.BUILD and *.bazelrc. PR #1789
-rw-r--r--crates/ignore/src/default_types.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ignore/src/default_types.rs b/crates/ignore/src/default_types.rs
index 54fe5cb7..c6972f9c 100644
--- a/crates/ignore/src/default_types.rs
+++ b/crates/ignore/src/default_types.rs
@@ -21,7 +21,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[
("ats", &["*.ats", "*.dats", "*.sats", "*.hats"]),
("avro", &["*.avdl", "*.avpr", "*.avsc"]),
("awk", &["*.awk"]),
- ("bazel", &["*.bazel", "*.bzl", "BUILD", "WORKSPACE"]),
+ ("bazel", &["*.bazel", "*.bzl", "*.BUILD", "*.bazelrc", "BUILD", "WORKSPACE"]),
("bitbake", &["*.bb", "*.bbappend", "*.bbclass", "*.conf", "*.inc"]),
("brotli", &["*.br"]),
("buildstream", &["*.bst"]),