Skip to content

Commit f40ff2a

Browse files
authored
Merge branch 'develop' into reuse_zcread
2 parents 09edfc6 + e0e1516 commit f40ff2a

File tree

4 files changed

+21
-106
lines changed

4 files changed

+21
-106
lines changed

.github/workflows/codeql-analysis.yml

-83
This file was deleted.

.github/workflows/pr-check.yml

+1
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,4 @@ jobs:
6363
uses: golangci/golangci-lint-action@v6
6464
with:
6565
version: latest
66+
only-new-issues: true

.golangci.yaml

+19-22
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
1-
output:
2-
# Format: colored-line-number|line-number|json|tab|checkstyle|code-climate|junit-xml|github-actions
3-
format: colored-line-number
4-
# All available settings of specific linters.
1+
# Options for analysis running.
2+
run:
3+
timeout: 3m
4+
5+
linters: # https://golangci-lint.run/usage/linters/
6+
disable-all: true
7+
enable:
8+
- gosimple
9+
- govet
10+
- ineffassign
11+
- staticcheck
12+
- unused
13+
- unconvert
14+
- goimports
15+
- gofumpt
16+
517
# Refer to https://golangci-lint.run/usage/linters
618
linters-settings:
719
gofumpt:
@@ -11,22 +23,7 @@ linters-settings:
1123
goimports:
1224
# Put imports beginning with prefix after 3rd-party packages.
1325
# It's a comma-separated list of prefixes.
14-
local-prefixes: github.com/cloudwego/kitex
15-
govet:
16-
# Disable analyzers by name.
17-
# Run `go tool vet help` to see all analyzers.
18-
disable:
19-
- stdmethods
20-
linters:
21-
enable:
22-
- gofumpt
23-
- goimports
24-
- gofmt
25-
disable:
26-
- errcheck
27-
- typecheck
28-
- deadcode
29-
- varcheck
30-
- staticcheck
26+
local-prefixes: github.com/cloudwego/netpoll
27+
3128
issues:
32-
exclude-use-default: true
29+
exclude-use-default: true

_typos.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Typo check: https://github.com/crate-ci/typos
22

33
[files]
4-
extend-exclude = ["go.sum"]
4+
extend-exclude = ["go.mod", "go.sum"]
55

66
[default.extend-identifiers]
77
# *sigh* this just isn't worth the cost of fixing

0 commit comments

Comments
 (0)