build(be):update golangci-lint action config
This commit is contained in:
parent
c31b3c8359
commit
0bef7d3040
2
.github/workflows/golangci-lint.yml
vendored
2
.github/workflows/golangci-lint.yml
vendored
@ -18,5 +18,5 @@ jobs:
|
||||
uses: golangci/golangci-lint-action@v2
|
||||
with:
|
||||
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
|
||||
version: v1.29
|
||||
version: latest
|
||||
args: --timeout=5m
|
||||
|
@ -1,6 +1,6 @@
|
||||
linters-settings:
|
||||
goimports:
|
||||
local-prefixes: uqingtech.com
|
||||
local-prefixes: next-terminal
|
||||
|
||||
linters:
|
||||
disable-all: true
|
||||
@ -19,8 +19,5 @@ linters:
|
||||
- varcheck
|
||||
|
||||
run:
|
||||
skip-dirs:
|
||||
- api/
|
||||
- module/
|
||||
skip-files:
|
||||
- test_ssh.go
|
||||
|
@ -3,12 +3,13 @@ package log
|
||||
import (
|
||||
"fmt"
|
||||
"io"
|
||||
"next-terminal/server/global"
|
||||
"os"
|
||||
"path"
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"next-terminal/pkg/global"
|
||||
|
||||
"github.com/labstack/echo/v4"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user