gomonop/.golangci.yml
Emmanuel BENOîT c46c9d76d9
All checks were successful
Run tests and linters / test (push) Successful in 50s
Run tests and linters / build (push) Successful in 48s
Run tests and linters / lint (push) Successful in 1m27s
feat: add the check_output_matches plugin (#5)
This PR adds the `check_output_matches` plugin, which can be used to count regexp or substring matches from either text files or command outputs and determine the final status based on the amount of matches that were found.

Reviewed-on: #5
Co-authored-by: Emmanuel BENOÎT <tseeker@nocternity.net>
Co-committed-by: Emmanuel BENOÎT <tseeker@nocternity.net>
2024-07-20 22:57:10 +02:00

39 lines
646 B
YAML

run:
tests: false
linters:
enable-all: true
disable:
- execinquery
- exhaustruct
- forbidigo
- gochecknoglobals
- gofumpt
- gomnd
- ireturn
- mnd
- nlreturn
- nonamedreturns
- wrapcheck
- wsl
linters-settings:
depguard:
rules:
Main:
list-mode: strict
files:
- $all
allow:
- $gostd
- nocternity.net/gomonop
- github.com/karrick/golf
- github.com/miekg/dns
gci:
sections:
- standard
- default
- localmodule
gomoddirectives:
replace-allow-list:
- github.com/karrick/golf