Skip to content

Commit

Permalink
Tweak lint rules
Browse files Browse the repository at this point in the history
Gofumpt is too strict for my tastes.
  • Loading branch information
DavidNix committed Nov 25, 2023
1 parent 87bfeb9 commit f8c7abd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ linters-settings:
allow-unused: false # report any unused nolint directives
require-explanation: false # don't require an explanation for nolint directives
require-specific: false # don't require nolint directives to be specific about which linter is being skipped
paralleltest:
# Ignore missing calls to `t.Parallel()` and only report incorrect uses of it.
# Default: false
ignore-missing: false
# Ignore missing calls to `t.Parallel()` in subtests. Top-level tests are
# still required to have `t.Parallel`, but subtests are allowed to skip it.
# Default: false
ignore-missing-subtests: false

linters:
disable-all: true
Expand All @@ -44,7 +52,7 @@ linters:
# - forcetypeassert
- gochecknoinits
- gocritic
- gofumpt
# - gofumpt
- goimports
- goprintffuncname
- gosimple
Expand Down

0 comments on commit f8c7abd

Please sign in to comment.