Remove deprecated linters

This commit is contained in:
DarthSim
2023-11-04 20:29:05 +03:00
parent 53bee6fbec
commit a5393e1b05
2 changed files with 1 additions and 4 deletions

View File

@@ -6,7 +6,6 @@ run:
linters:
disable-all: true
enable:
- deadcode
# - errcheck
- gocritic
# - goconst
@@ -15,11 +14,9 @@ linters:
- govet
- ineffassign
- staticcheck
- structcheck
- stylecheck
- typecheck
- unused
- varcheck
linters-settings:
govet:

View File

@@ -1,6 +1,6 @@
#!/bin/sh
if ! git diff --staged --name-only | grep -qe ".*\.go$"; then
if ! git diff --staged --name-only | grep -qE ".*\.go$|\.golangci\.yml$"; then
echo "Nothing to lint"
exit 0;
fi