summaryrefslogtreecommitdiffstats
path: root/crates/ignore
diff options
context:
space:
mode:
authorJon Parise <jon@indelible.org>2023-05-06 14:56:11 -0700
committerAndrew Gallant <jamslam@gmail.com>2023-07-08 18:52:42 -0400
commit96cfc0ed133d4e4614c49463e8cae65afa65c55c (patch)
treef0e2fe188e05b910f96bb6ddec4d0aeefe1e634c /crates/ignore
parentda8ecddce926bcf616f62c947058fe5487fd2a3b (diff)
ignore/types: add 'graphql' type
GraphQL file extensions: .graphql and .graphqls (schema) We could also add `.gql`, but perhaps it's less correct to do so. We'll start conservatively here, and we can always add `.gql` later. Closes #2439, Closes #2508
Diffstat (limited to 'crates/ignore')
-rw-r--r--crates/ignore/src/default_types.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ignore/src/default_types.rs b/crates/ignore/src/default_types.rs
index 0fedf136..4c1d8551 100644
--- a/crates/ignore/src/default_types.rs
+++ b/crates/ignore/src/default_types.rs
@@ -85,6 +85,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[
("gn", &["*.gn", "*.gni"]),
("go", &["*.go"]),
("gradle", &["*.gradle"]),
+ ("graphql", &["*.graphql", "*.graphqls"]),
("groovy", &["*.groovy", "*.gradle"]),
("gzip", &["*.gz", "*.tgz"]),
("h", &["*.h", "*.hh", "*.hpp"]),