diff options
author | Alan Pearce | 2024-05-03 09:03:55 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-03 09:03:55 +0200 |
commit | 670f9dbd8d9b54d52b50cb2c7662b674d0aeb357 (patch) | |
tree | 161bbc6b0e832de87377d43e9049da76690c27f0 /.gitignore | |
parent | 177c2de3f7c2b1cee8dbea4acaa896a334ba3162 (diff) | |
download | searchix-670f9dbd8d9b54d52b50cb2c7662b674d0aeb357.tar.lz searchix-670f9dbd8d9b54d52b50cb2c7662b674d0aeb357.tar.zst searchix-670f9dbd8d9b54d52b50cb2c7662b674d0aeb357.zip |
chore: revert to blocklist-based gitignore
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 48 |
1 files changed, 19 insertions, 29 deletions
diff --git a/.gitignore b/.gitignore index ebdb921..c034bd1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,34 +1,24 @@ -# Allowlisting gitignore template for GO projects prevents us -# from adding various unwanted local files, such as generated -# files, developer configurations or IDE-specific files etc. -# -# Recommended: Go.AllowList.gitignore +### https://raw.github.com/github/gitignore/4488915eec0b3a45b5c63ead28f286819c0917de/Go.gitignore -# Ignore everything -* +# Binaries for programs and plugins +/* +*.exe +*.exe~ +*.dll +*.so +*.dylib +!*.* +!/**/ -# But not these files... -!/.gitignore -!/.editorconfig -!/.envrc.sample +# Test binary, built with `go test -c` +*.test -!/README.md -!/LICENSE -!/justfile -!/config.toml +# Output of the go coverage tool, specifically when used with LiteIDE +*.out -!/nix -!*.nix +# Go workspace file +go.work -!/.golangci.yaml -!/go.sum -!/go.mod -!/gomod2nix.toml -!*.go - -!*.tmpl -!*.js -!/frontend - -# ...even if they are in subdirectories -!*/ +/.env +/.envrc +/.pre-commit-config.yaml |