Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: scroll back golang-lint version from 1.49.0 to 1.47.3
Golang-lint 1.48+(included) uses gofmt based on go 1.9. The result of Gofmt based on go1.9 is different from Gofmt based on go1.18([different](golang/go#54789)). As a result, Golang-lint 1.48+ reports "File is not `gofmt`-ed with `-s` (gofmt)", although gofmt(1.8 based) says the code is ok. Scroll back to golang-lint 1.47.3, which uses gofmt based on go 1.8. In the future, upgrade golang-lint when go version is higher or equal to 1.9. Signed-off-by: 泰友 <cuichengxu.ccx@antgroup.com>
- Loading branch information