housekeeping: clean up lint config

This commit is contained in:
2026-09-19 21:36:31 -07:00
parent de11a0214b
commit f8d79761f4
4 changed files with 7 additions and 5 deletions

1
.gitignore vendored
View File

@@ -4,3 +4,4 @@ sample_data/data
.cmd-old/
pkg/.testapp
.claude
bin

View File

@@ -54,15 +54,17 @@ linters:
require-specific: true
allow-unused: false
staticcheck:
go: "1.24"
checks:
- all
- -ST1000 # Re-enable this once we have docstrings
- -ST1003 # I like snake_case
- -ST1013 # HTTP status codes are shorter and more readable than names
wrapcheck:
report-internal-errors: false
extra-ignore-sigs:
- json.Marshal(
exclusions:
generated: lax # Don't lint generated files
paths:
formatters:
enable:
@@ -78,7 +80,6 @@ formatters:
simplify: true
exclusions:
generated: lax
paths:
run:
build-tags:

View File

@@ -1,3 +1,3 @@
#!/bin/sh
go test -tags fts5 ./...
go test -tags fts5 ./... $@

View File

@@ -16,7 +16,7 @@ func (vs VSC) MarshalJSON() ([]byte, error) {
if vs == nil {
vs = VSC{}
}
return json.Marshal([]string(vs)) //nolint: wrapcheck // Passthrough
return json.Marshal([]string(vs))
}
func (vs VSC) Value() (driver.Value, error) {