Skip to content

Commit

Permalink
Merge pull request #1159 from epage/go
Browse files Browse the repository at this point in the history
fix: Re-add go.sum, requirements.txt to 'lock' file type
  • Loading branch information
epage authored Nov 26, 2024
2 parents 78d6d22 + 70f2360 commit 8a0dae6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion crates/typos-cli/src/default_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,13 @@ pub(crate) const DEFAULT_TYPES: &[(&str, &[&str])] = &[
]),
("lilypond", &["*.ly", "*.ily"]),
("lisp", &["*.el", "*.lisp", "*.lsp", "*.sc", "*.scm"]),
("lock", &["*.lock", "package-lock.json", "composer.lock", "*.terraform.lock.hcl"]),
("lock", &[
"*.lock",
"package-lock.json", "pnpm-lock.yaml",
"composer.lock", "*.terraform.lock.hcl",
"requirements.txt",
"go.sum",
]),
("log", &["*.log"]),
("lua", &["*.lua"]),
("lz4", &["*.lz4"]),
Expand Down

0 comments on commit 8a0dae6

Please sign in to comment.