Skip to content

Commit

Permalink
fix: Re-add go.sum, requirements.txt to 'lock' file type
Browse files Browse the repository at this point in the history
Fixes #1158
  • Loading branch information
epage committed Nov 26, 2024
1 parent 78d6d22 commit 70f2360
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 70f2360

Please sign in to comment.