Skip to content

Commit 70f2360

Browse files
committed
fix: Re-add go.sum, requirements.txt to 'lock' file type
Fixes #1158
1 parent 78d6d22 commit 70f2360

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

crates/typos-cli/src/default_types.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,13 @@ pub(crate) const DEFAULT_TYPES: &[(&str, &[&str])] = &[
160160
]),
161161
("lilypond", &["*.ly", "*.ily"]),
162162
("lisp", &["*.el", "*.lisp", "*.lsp", "*.sc", "*.scm"]),
163-
("lock", &["*.lock", "package-lock.json", "composer.lock", "*.terraform.lock.hcl"]),
163+
("lock", &[
164+
"*.lock",
165+
"package-lock.json", "pnpm-lock.yaml",
166+
"composer.lock", "*.terraform.lock.hcl",
167+
"requirements.txt",
168+
"go.sum",
169+
]),
164170
("log", &["*.log"]),
165171
("lua", &["*.lua"]),
166172
("lz4", &["*.lz4"]),

0 commit comments

Comments
 (0)