Skip to content

Commit 2b5d211

Browse files
author
number571
committed
update
1 parent 2109f76 commit 2b5d211

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+215
-553
lines changed

Makefile

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,32 +16,28 @@ _GO_TEST_LIST=\
1616
grep -v /examples/ | \
1717
grep -v /vendor/
1818

19-
.PHONY: default clean go-fmt-vet \
19+
.PHONY: default go-fmt-vet \
2020
lint-run test-run \
2121
test-coverage test-coverage-view test-coverage-treemap test-coverage-badge \
2222
git-status git-push \
2323
install-deps
2424

2525
default: lint-run test-run
2626

27-
clean:
28-
make -C ./bin clean
29-
make -C ./cmd clean
30-
3127
go-fmt-vet:
3228
go fmt ./...
3329
go vet ./...
3430

3531
### INSTALL
3632

3733
install-deps:
38-
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.60.0
34+
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.1.2
3935
go install github.com/nikolaydubina/[email protected]
4036

4137
### LINT
4238

43-
lint-run: clean go-fmt-vet
44-
golangci-lint run -E "gosec,unconvert,gosimple,goconst,gocyclo,err113,ineffassign,unparam,unused,bodyclose,noctx,perfsprint,prealloc,gocritic,govet,revive,staticcheck,errcheck,errorlint,nestif,maintidx"
39+
lint-run: go-fmt-vet
40+
golangci-lint run -E "gosec,unconvert,goconst,gocyclo,err113,ineffassign,unparam,unused,bodyclose,noctx,perfsprint,prealloc,gocritic,govet,staticcheck,errcheck,errorlint,nestif,maintidx"
4541

4642
### TEST
4743
# example run: make test-run N=10

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ All cmd programs are compiled for {`amd64`, `arm64`} ARCH and {`windows`, `linux
101101

102102
There are a number of dependencies that represent separate applications for providing additional information about the quality of the code. These applications are not entered into the project, but are loaded via the `make install-deps` command. The list of applications is as follows:
103103

104-
1. golangci-lint [github.com/golangci/golangci-lint/cmd/golangci-lintv1.60.0](https://github.com/golangci/golangci-lint/tree/v1.60.0)
104+
1. golangci-lint [github.com/golangci/golangci-lint@v2.1.2](https://github.com/golangci/golangci-lint/tree/v2.1.2)
105105
2. go-cover-treemap [github.com/nikolaydubina/[email protected]](https://github.com/nikolaydubina/go-cover-treemap/tree/v1.4.2)
106106

107107
## Theoretical works

bin/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

bin/Makefile

Lines changed: 0 additions & 6 deletions
This file was deleted.

build/build.go

Lines changed: 0 additions & 3 deletions
This file was deleted.

build/build_test.go

Lines changed: 0 additions & 5 deletions
This file was deleted.

changelog_test.go

Lines changed: 0 additions & 58 deletions
This file was deleted.

cmd/Makefile

Lines changed: 0 additions & 7 deletions
This file was deleted.

cmd/tools/Makefile

Lines changed: 0 additions & 9 deletions
This file was deleted.

cmd/tools/keygen/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)