Skip to content

Commit

Permalink
Merge pull request #1019 from SOF3/go-flate
Browse files Browse the repository at this point in the history
fix(dict): ignore flate for Go files
  • Loading branch information
epage committed Jun 5, 2024
2 parents 160c60d + 107f99d commit 8d0593d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions crates/typos-cli/src/file_type_specifics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ pub(crate) const TYPE_SPECIFIC_DICTS: &[(&str, StaticDictConfig)] = &[
ignore_words: &[],
},
),
(
"go",
StaticDictConfig {
ignore_idents: &[
"flate", // https://pkg.go.dev/compress/flate
],
ignore_words: &[],
},
),
(
"jl",
StaticDictConfig {
Expand Down

0 comments on commit 8d0593d

Please sign in to comment.