From 4eeb460bb7575dcee03f2419e7331f71bc27b7c5 Mon Sep 17 00:00:00 2001 From: Eric Fu Date: Mon, 13 Mar 2023 17:11:15 +0800 Subject: [PATCH] fix: ignore go.mod by default --- crates/typos-cli/src/default_types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/typos-cli/src/default_types.rs b/crates/typos-cli/src/default_types.rs index 1762abe..5eb3bdd 100644 --- a/crates/typos-cli/src/default_types.rs +++ b/crates/typos-cli/src/default_types.rs @@ -93,7 +93,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[ ("fut", &["*.fut"]), ("gap", &["*.g", "*.gap", "*.gi", "*.gd", "*.tst"]), ("gn", &["*.gn", "*.gni"]), - ("go", &["*.go", "go.mod"]), + ("go", &["*.go"]), ("gradle", &["*.gradle"]), ("groovy", &["*.groovy", "*.gradle"]), ("gzip", &["*.gz", "*.tgz"]),