mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-24 18:10:56 -05:00
Merge pull request #1019 from SOF3/go-flate
fix(dict): ignore flate for Go files
This commit is contained in:
commit
8d0593d333
1 changed files with 9 additions and 0 deletions
|
@ -16,6 +16,15 @@ pub(crate) const TYPE_SPECIFIC_DICTS: &[(&str, StaticDictConfig)] = &[
|
||||||
ignore_words: &[],
|
ignore_words: &[],
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
(
|
||||||
|
"go",
|
||||||
|
StaticDictConfig {
|
||||||
|
ignore_idents: &[
|
||||||
|
"flate", // https://pkg.go.dev/compress/flate
|
||||||
|
],
|
||||||
|
ignore_words: &[],
|
||||||
|
},
|
||||||
|
),
|
||||||
(
|
(
|
||||||
"jl",
|
"jl",
|
||||||
StaticDictConfig {
|
StaticDictConfig {
|
||||||
|
|
Loading…
Reference in a new issue