Skip to content

Commit

Permalink
ignore/types: add 'graphql' type
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jparise authored and BurntSushi committed Jul 8, 2023
1 parent da8ecdd commit 96cfc0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Unreleased changes. Release notes have not yet been written.

Feature enhancements:

* Added or improved file type filtering for Fuchsia
* Added or improved file type filtering for Fuchsia, GraphQL

Bug fixes:

Expand Down
1 change: 1 addition & 0 deletions crates/ignore/src/default_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"]),
Expand Down

0 comments on commit 96cfc0e

Please sign in to comment.