mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 00:51:11 -05:00
fix(dict): Ignore flate for Go files
Signed-off-by: SOFe <sofe2038@gmail.com>
This commit is contained in:
parent
27ba9761d1
commit
107f99d4c6
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