mirror of
https://github.com/crate-ci/typos.git
synced 2025-01-23 23:18:57 -05:00
fix(config): Set file types for go.mod/go.sum
`go.mod` seems to be a specification file which we tend to lump in with the language itself since a weirdly spell dependency will likely show up in code. `go.sum` seems to be like a lock file which we quarantine into its own file type. Fixes #458
This commit is contained in:
parent
e3a1397e04
commit
bead488a6c
1 changed files with 2 additions and 2 deletions
|
@ -93,7 +93,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[
|
|||
("fut", &["*.fut"]),
|
||||
("gap", &["*.g", "*.gap", "*.gi", "*.gd", "*.tst"]),
|
||||
("gn", &["*.gn", "*.gni"]),
|
||||
("go", &["*.go"]),
|
||||
("go", &["*.go", "go.mod"]),
|
||||
("gradle", &["*.gradle"]),
|
||||
("groovy", &["*.groovy", "*.gradle"]),
|
||||
("gzip", &["*.gz", "*.tgz"]),
|
||||
|
@ -146,7 +146,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[
|
|||
]),
|
||||
("lilypond", &["*.ly", "*.ily"]),
|
||||
("lisp", &["*.el", "*.jl", "*.lisp", "*.lsp", "*.sc", "*.scm"]),
|
||||
("lock", &["*.lock", "package-lock.json", "requirements.txt"]),
|
||||
("lock", &["*.lock", "package-lock.json", "requirements.txt", "go.sum"]),
|
||||
("log", &["*.log"]),
|
||||
("lua", &["*.lua"]),
|
||||
("lz4", &["*.lz4"]),
|
||||
|
|
Loading…
Add table
Reference in a new issue