From 4de909747bdf322bbb37d500b9705d7a3a050b78 Mon Sep 17 00:00:00 2001 From: TheFox0x7 Date: Tue, 30 Jul 2024 19:41:10 +0000 Subject: Add testifylint to lint checks (#4535) go-require lint is ignored for now Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4535 Reviewed-by: Gusted Co-authored-by: TheFox0x7 Co-committed-by: TheFox0x7 --- .golangci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.golangci.yml') diff --git a/.golangci.yml b/.golangci.yml index 3f1667aece..640fbb938f 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -20,6 +20,7 @@ linters: - staticcheck - stylecheck - tenv + - testifylint - typecheck - unconvert - unused @@ -28,10 +29,6 @@ linters: run: timeout: 10m - skip-dirs: - - node_modules - - public - - web_src output: sort-results: true @@ -101,6 +98,9 @@ linters-settings: desc: do not use the ini package, use gitea's config system instead - pkg: github.com/minio/sha256-simd desc: use crypto/sha256 instead, see https://codeberg.org/forgejo/forgejo/pulls/1528 + testifylint: + disable: + - go-require issues: max-issues-per-linter: 0 -- cgit v1.2.3