Skip to content

Commit e601194

Browse files
authored
Merge pull request #1261 from epage/go
fix(type): Include support for go.work
2 parents 8c7c9e5 + 9a82085 commit e601194

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/typos-cli/src/default_types.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ pub(crate) const DEFAULT_TYPES: &[(&str, &[&str])] = &[
102102
("fut", &["*.fut"]),
103103
("gap", &["*.g", "*.gap", "*.gi", "*.gd", "*.tst"]),
104104
("gn", &["*.gn", "*.gni"]),
105-
("go", &["*.go"]),
105+
("go", &["*.go", "go.work"]),
106106
("gprbuild", &["*.gpr"]),
107107
("gradle", &[
108108
"*.gradle", "*.gradle.kts", "gradle.properties", "gradle-wrapper.*",
@@ -166,6 +166,7 @@ pub(crate) const DEFAULT_TYPES: &[(&str, &[&str])] = &[
166166
"composer.lock", "*.terraform.lock.hcl",
167167
"requirements.txt",
168168
"go.sum",
169+
"go.work.sum",
169170
]),
170171
("log", &["*.log"]),
171172
("lua", &["*.lua"]),

0 commit comments

Comments
 (0)