From b1222508f33b8e719d2c92bed0c220150150a333 Mon Sep 17 00:00:00 2001 From: Pion <59523206+pionbot@users.noreply.github.com> Date: Mon, 23 Jan 2023 08:15:38 +0000 Subject: [PATCH] Update CI configs to v0.10.3 Update lint scripts and CI configs. --- .golangci.yml | 3 --- AUTHORS.txt | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index d7a88eca3..48696f16b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -18,7 +18,6 @@ linters: - bidichk # Checks for dangerous unicode character sequences - bodyclose # checks whether HTTP response body is closed successfully - contextcheck # check the function whether use a non-inherited context - - deadcode # Finds unused code - decorder # check declaration order and count of types, constants, variables and functions - depguard # Go linter that checks if package imports are in a list of acceptable packages - dogsled # Checks assignments with too many blank identifiers (e.g. x, _, _, _, := f()) @@ -60,7 +59,6 @@ linters: - predeclared # find code that shadows one of Go's predeclared identifiers - revive # golint replacement, finds style mistakes - staticcheck # Staticcheck is a go vet on steroids, applying a ton of static analysis checks - - structcheck # Finds unused struct fields - stylecheck # Stylecheck is a replacement for golint - tagliatelle # Checks the struct tags. - tenv # tenv is analyzer that detects using os.Setenv instead of t.Setenv since Go1.17 @@ -69,7 +67,6 @@ linters: - unconvert # Remove unnecessary type conversions - unparam # Reports unused function parameters - unused # Checks Go code for unused constants, variables, functions and types - - varcheck # Finds unused global variables and constants - wastedassign # wastedassign finds wasted assignment statements - whitespace # Tool for detection of leading and trailing whitespace disable: diff --git a/AUTHORS.txt b/AUTHORS.txt index 61dfc050a..6c7583841 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -42,8 +42,12 @@ Ryan Gordon Sean DuBois Sean DuBois Stefan Tatschner +Steffen Vogel Vadim Vadim Filimonov wmiao ZHENK 吕海涛 + +# List of contributors not appearing in Git history +