Skip to content

Commit

Permalink
fix(dict): Ignore flate for Go files
Browse files Browse the repository at this point in the history
Signed-off-by: SOFe <sofe2038@gmail.com>
  • Loading branch information
SOF3 committed Jun 5, 2024
1 parent 27ba976 commit 107f99d
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 107f99d

Please sign in to comment.