271 Commits

Author SHA1 Message Date
Eugene Simonov
7a612da13c
bump ifshort to v1.0.2 (#1837) 2021-03-12 16:50:59 +01:00
Ludovic Fernandez
4bc68c0a15
Bump gofumpt from v0.1.0 to v0.1.1 (#1834) 2021-03-11 16:12:05 +01:00
dependabot[bot]
714bd288df
build(deps): bump github.com/securego/gosec/v2 from 2.6.1 to 2.7.0 (#1823) 2021-03-09 19:34:55 +01:00
Ludovic Fernandez
8d0075da00
Bump staticcheck to 2020.2.3 (v0.1.3) (#1829) 2021-03-09 19:00:15 +01:00
Ludovic Fernandez
94d2d803d2
Add gomoddirectives linter. (#1817) 2021-03-09 18:59:06 +01:00
dependabot[bot]
c11228b44f
build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.1 to 3.21.2 (#1822) 2021-03-09 18:54:25 +01:00
Kensei Nakada
351f57b174
bump wastedassign to v0.2.0 (#1815) 2021-03-09 18:38:47 +01:00
Sergey Vilgelm
1a906bc196
Use go v1.14 in go.mod file (#1803)
Change the go version in `go.mod` from `v1.13` to `v1.14`, since the tests for go `v1.13` were dropped in CI
2021-03-01 16:52:11 +02:00
Sergey Vilgelm
5dcc3eafd1
Update dependencies that dependabot cannot (#1790)
* Use a tagged version of `prealloc` instead of commit ID. Version is same.
* Use a tagged version of `misspell` instead of commit ID. Version is same.
* Update `go-printf-func-name` to `v0.0.0-20200119135958-7558a9eaa5af`. Added license.
* Update `godox` to `v0.0.0-20210227103229-6504466cf951`. Changed error message by trimming a comment to 40 symbols only.
* Update `asciicheck` to `v0.0.0-20200416200610-e657995f937b`. Updated documentation.
* Update `wrapcheck` to `v0.0.0-20201130113247-1683564d9756`. Updated readme.
* Update `unparam` to `v0.0.0-20210104141923-aac4ce9116a7`. Updated dependencies.
2021-02-28 00:31:41 +01:00
Ludovic Fernandez
5698d46e1f
Add ForceTypeAssert linter (#1789) 2021-02-26 22:34:12 +01:00
Ludovic Fernandez
66fc779795
Add nilerr linter. (#1788) 2021-02-26 22:12:32 +01:00
Sergey Vilgelm
05836e489b
Integrate ImportAs linter (#1783)
* Integrate ImportAs linter

* review: don't panic :)

Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2021-02-26 13:08:49 -06:00
Sergey Vilgelm
34e46c7453
Using a version instead of commit id for goconst (#1786) 2021-02-26 12:56:40 -06:00
Sergey Vilgelm
eefb97438c
ineffassign: use upstrea instead of golangci fork (#1780) 2021-02-26 00:36:43 +01:00
Sergey Vilgelm
b77118fdac
Use errcheck from main repo instead of golangci-lint fork (#1319)
Co-authored-by: Roman Leventov <leventov@ya.ru>
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2021-02-25 13:16:48 +01:00
dependabot[bot]
326d715ba4
build(deps): bump github.com/sirupsen/logrus from 1.7.0 to 1.8.0 (#1763) 2021-02-22 10:38:25 +01:00
dependabot[bot]
dac2059e5f
build(deps): bump github.com/kulti/thelper from 0.3.1 to 0.4.0 (#1764) 2021-02-22 10:32:04 +01:00
Kensei Nakada
012559c506
Add linter wastedassign (#1651) 2021-02-21 22:01:51 +01:00
Ludovic Fernandez
2e7c389deb
Update staticcheck to v0.1.2 (2020.2.2) (#1756) 2021-02-21 16:27:32 +01:00
Ludovic Fernandez
a1e3749ac2
Bump github.com/Djarvur/go-err113 to HEAD (#1760) 2021-02-21 14:48:54 +01:00
Ludovic Fernandez
9e9a814052
test: Bump github.com/shirou/gopsutil to v3.21.1 (#1759) 2021-02-21 14:42:49 +01:00
Ludovic Fernandez
495a74f6fe
Bump github.com/timakin/bodyclose to HEAD (#1758) 2021-02-21 13:58:06 +01:00
Ludovic Fernandez
2880d89b33
bump durationcheck from 0.0.4 to 0.0.6 (#1757) 2021-02-21 12:49:56 +01:00
Simon Sawert
b7aac3b1ad
Bump wsl to v3.2.0 (#1750) 2021-02-20 15:16:10 +01:00
Ludovic Fernandez
b39dbcd694
durationcheck: False positive when multiplying with int type struct field (#1744)
Some checks failed
Extra / Vulnerability scanner (push) Failing after 33s
CI / go-mod (push) Failing after 43s
CI / golangci-lint (push) Failing after 1m0s
CI / tests-on-windows (push) Has been skipped
CI / tests-on-macos (push) Has been skipped
CI / tests-on-unix (1.14) (push) Has been skipped
CI / tests-on-unix (1.15) (push) Has been skipped
CI / tests-on-unix (1.16) (push) Has been skipped
CI / check_generated (push) Has been skipped
Release a tag / release (push) Failing after 1m10s
Release a tag / docker-release (map[Dockerfile:build/Dockerfile.alpine]) (push) Has been skipped
Release a tag / docker-release (map[Dockerfile:build/Dockerfile]) (push) Has been skipped
2021-02-20 12:43:21 +01:00
Ludovic Fernandez
4b3fb4c64f
revive: fix types and default configuration. (#1747) 2021-02-19 01:40:40 +01:00
Ludovic Fernandez
34e5fc6396
Use upstream gocyclo. (#1739)
Some checks failed
Extra / Vulnerability scanner (push) Failing after 19s
CI / golangci-lint (push) Failing after 2m53s
CI / tests-on-windows (push) Has been skipped
CI / tests-on-macos (push) Has been skipped
CI / tests-on-unix (1.14) (push) Has been skipped
CI / tests-on-unix (1.15) (push) Has been skipped
CI / tests-on-unix (1.16) (push) Has been skipped
CI / check_generated (push) Has been skipped
CI / go-mod (push) Failing after 15m20s
Release a tag / release (push) Failing after 15m3s
Release a tag / docker-release (map[Dockerfile:build/Dockerfile.alpine]) (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile]) (push) Has been cancelled
2021-02-17 10:27:15 +01:00
Bartłomiej Klimczak
2121370f81
add 'cyclop' linter (#1738) 2021-02-17 09:48:29 +01:00
dependabot[bot]
4dc0dc32e0
build(deps): bump github.com/spf13/cobra from 1.1.1 to 1.1.3 (#1736)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.1.1 to 1.1.3.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.1.1...v1.1.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 07:48:30 +01:00
Ludovic Fernandez
b0b2dc6b36
feat: add durationcheck linter. (#1734)
Co-authored-by: Sergey Vilgelm <sergey.vilgelm@ibm.com>
2021-02-14 11:47:06 -06:00
Sebastian Spaink
35b6f35476
Add "revive" linter (#1729) 2021-02-14 14:36:37 +01:00
Ludovic Fernandez
ce2e778220
fix: new-from-rev for large repository. (#1723) 2021-02-14 05:01:21 +01:00
dependabot[bot]
ed9480c4ac
build(deps): bump github.com/kulti/thelper from 0.3.0 to 0.3.1 (#1722) 2021-02-08 09:13:32 +03:00
Aleksey Bakin
cc152be1a9
bump thelper linter version to v0.3.0 (#1696) 2021-02-07 18:28:04 +01:00
Robert Liebowitz
2a5b42cecc
prealloc: Use upstream version (#1694) 2021-02-06 14:17:25 +01:00
dependabot[bot]
5694c50144
build(deps): bump github.com/mbilski/exhaustivestruct from 1.1.0 to 1.2.0 (#1680) 2021-02-01 21:45:42 +01:00
dependabot[bot]
55eed969c5
build(deps): bump github.com/tetafro/godot from 1.4.3 to 1.4.4 (#1679) 2021-02-01 21:19:42 +01:00
Sebastien Rosset
443e5b6c73
Print error message and exit with non-zero status when ruleguard parse error occurs (#1666) 2021-02-01 12:50:25 +01:00
dependabot[bot]
3096f8aedb
build(deps): bump github.com/ashanbrown/forbidigo from 1.0.0 to 1.1.0 (#1678)
Bumps [github.com/ashanbrown/forbidigo](https://github.com/ashanbrown/forbidigo) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/ashanbrown/forbidigo/releases)
- [Commits](https://github.com/ashanbrown/forbidigo/compare/v1.0.0...v1.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
Co-authored-by: Xiang Dai <long0dai@foxmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-01 14:21:30 +08:00
Eugene Simonov
0a474a2637
Update ifshort to v1.0.1 (#1671) 2021-01-30 17:08:46 +01:00
gaojingyu
839dd7445e
rowserrcheck: fix reports false positive (#1670) 2021-01-30 03:01:07 +01:00
Ludovic Fernandez
6c25d06830
fix: bump github.com/tommy-muehle/go-mnd/v2 to v2.3.1 (#1667)
Some checks failed
Extra / Vulnerability scanner (push) Failing after 1m43s
CI / golangci-lint (push) Failing after 2m38s
CI / tests-on-windows (push) Has been skipped
CI / tests-on-macos (push) Has been skipped
CI / tests-on-unix (1.13) (push) Has been skipped
CI / tests-on-unix (1.14) (push) Has been skipped
CI / tests-on-unix (1.15) (push) Has been skipped
CI / check_generated (push) Has been skipped
CI / go-mod (push) Failing after 17m1s
Release a tag / release (push) Failing after 15m25s
Release a tag / docker-release (map[Dockerfile:build/Dockerfile.alpine]) (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile]) (push) Has been cancelled
2021-01-26 11:43:15 +01:00
dependabot[bot]
ea4179397d
build(deps): bump github.com/securego/gosec/v2 from 2.5.0 to 2.6.1 (#1665)
Bumps [github.com/securego/gosec/v2](https://github.com/securego/gosec) from 2.5.0 to 2.6.1.
- [Release notes](https://github.com/securego/gosec/releases)
- [Changelog](https://github.com/securego/gosec/blob/master/.goreleaser.yml)
- [Commits](https://github.com/securego/gosec/compare/v2.5.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
Co-authored-by: Xiang Dai <long0dai@foxmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-25 14:18:03 +08:00
dependabot[bot]
4f648a732f
build(deps): bump github.com/tetafro/godot from 1.3.2 to 1.4.3 (#1664)
Bumps [github.com/tetafro/godot](https://github.com/tetafro/godot) from 1.3.2 to 1.4.3.
- [Release notes](https://github.com/tetafro/godot/releases)
- [Changelog](https://github.com/tetafro/godot/blob/master/.goreleaser.yml)
- [Commits](https://github.com/tetafro/godot/compare/v1.3.2...v1.4.3)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
Co-authored-by: Xiang Dai <long0dai@foxmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-25 14:17:27 +08:00
Eugene Simonov
750309d157
Add ifshort linter (#1587) 2021-01-20 23:07:43 +01:00
dependabot[bot]
f049bfc4ae
build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0 (#1654)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
Co-authored-by: Xiang Dai <long0dai@foxmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 14:12:53 +08:00
Ludovic Fernandez
1da57014f9
fix: gci init (#1642)
Some checks failed
Extra / Vulnerability scanner (push) Failing after 1m50s
CI / golangci-lint (push) Failing after 3m49s
CI / tests-on-windows (push) Has been skipped
CI / tests-on-macos (push) Has been skipped
CI / tests-on-unix (1.13) (push) Has been skipped
CI / tests-on-unix (1.14) (push) Has been skipped
CI / tests-on-unix (1.15) (push) Has been skipped
CI / check_generated (push) Has been skipped
CI / go-mod (push) Failing after 17m8s
Release a tag / release (push) Failing after 17m5s
Release a tag / docker-release (map[Dockerfile:build/Dockerfile.alpine]) (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile]) (push) Has been cancelled
2021-01-10 20:49:57 -06:00
Ludovic Fernandez
44bf1977a0
fix regression: update thelper to v0.2.1 (#1639)
Some checks failed
Extra / Vulnerability scanner (push) Failing after 1m54s
CI / go-mod (push) Failing after 17m16s
CI / golangci-lint (push) Failing after 17m14s
Release a tag / release (push) Failing after 17m12s
CI / tests-on-windows (push) Has been cancelled
CI / tests-on-macos (push) Has been cancelled
CI / tests-on-unix (1.13) (push) Has been cancelled
CI / tests-on-unix (1.14) (push) Has been cancelled
CI / tests-on-unix (1.15) (push) Has been cancelled
CI / check_generated (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile.alpine]) (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile]) (push) Has been cancelled
2021-01-09 20:21:31 +01:00
Ludovic Fernandez
e5a395b2c8
Update mvdan.cc/gofumpt to v0.1.0 (#1637) 2021-01-08 16:48:56 +01:00
Ludovic Fernandez
1e5ba1eb70
fix: modules-download-mode support (#1593)
Some checks failed
Extra / Vulnerability scanner (push) Failing after 2m2s
CI / go-mod (push) Failing after 17m24s
CI / golangci-lint (push) Failing after 17m22s
Release a tag / release (push) Failing after 17m20s
CI / tests-on-windows (push) Has been cancelled
CI / tests-on-macos (push) Has been cancelled
CI / tests-on-unix (1.13) (push) Has been cancelled
CI / tests-on-unix (1.14) (push) Has been cancelled
CI / tests-on-unix (1.15) (push) Has been cancelled
CI / check_generated (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile.alpine]) (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile]) (push) Has been cancelled
2021-01-07 23:37:22 +01:00