Skip to content

PostgreSQL backup tool with Point-In-Time-Recovery and restore verification

FEATURE (linters): Introduce more strict linters

Rostislav Duginf712e3a437b0
diff --git a/agent/.golangci.yml b/agent/.golangci.yml
index ea2a327a..9e54a7d8 100644
--- a/agent/.golangci.yml
+++ b/agent/.golangci.yml
@@ -7,6 +7,18 @@ run:
linters:
default: standard
+ enable:
+ - funcorder
+ - gosec
+ - bodyclose
+ - errorlint
+ - gocritic
+ - unconvert
+ - misspell
+ - dupword
+ - errname
+ - noctx
+ - modernize
settings:
errcheck:
diff --git a/backend/.golangci.yml b/backend/.golangci.yml
index 6a13c517..18e8b008 100644
--- a/backend/.golangci.yml
+++ b/backend/.golangci.yml
@@ -7,6 +7,18 @@ run:
linters:
default: standard
+ enable:
+ - funcorder
+ - gosec
+ - bodyclose
+ - errorlint
+ - gocritic
+ - unconvert
+ - misspell
+ - dupword
+ - errname
+ - noctx
+ - modernize
settings:
errcheck: