mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-17 17:45:10 +02:00
fix: Revert "fix: ignore go.mod by default"
This reverts commit 4eeb460bb7.
Original PR: #684
Original Issue: #683
This didn't cause `go.mod` to be ignoredinstead it caused it to not be
counted as go code.
However, `go.mod` and `go.work` are similar file types and both are more
of package specifications than lock files or other machine-only content.
See #1363
This commit is contained in:
@@ -102,7 +102,7 @@ pub(crate) const DEFAULT_TYPES: &[(&str, &[&str])] = &[
|
||||
("fut", &["*.fut"]),
|
||||
("gap", &["*.g", "*.gap", "*.gi", "*.gd", "*.tst"]),
|
||||
("gn", &["*.gn", "*.gni"]),
|
||||
("go", &["*.go", "go.work"]),
|
||||
("go", &["*.go", "go.mod", "go.work"]),
|
||||
("gprbuild", &["*.gpr"]),
|
||||
("gradle", &[
|
||||
"*.gradle", "*.gradle.kts", "gradle.properties", "gradle-wrapper.*",
|
||||
|
||||
Reference in New Issue
Block a user