739 Commits

Author SHA1 Message Date
Viktoras
69a4e811d7
Update pkg/printers/github.go
Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>
2020-04-11 00:12:29 +03:00
Viktoras Makauskas
276e0d1e3b Fixing linter issues 2020-04-11 00:11:37 +03:00
Viktoras
da4a14d827
Update pkg/printers/github.go
Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>
2020-04-11 00:02:35 +03:00
Viktoras Makauskas
ee2c62132c Fixing linter issues 2020-04-10 23:59:07 +03:00
Viktoras Makauskas
d7222c7d38 Adding github actions output format 2020-04-10 23:46:19 +03:00
Ryan Currah
4292963937
do not error out when go.mod is missing just raise warning, change linter options 2020-04-05 17:49:27 -04:00
Ryan Currah
020b9e7103
added new linter gomodguard, disabled by default 2020-04-04 15:29:11 -04:00
Denis Krivak
58572c7789 Add new linter: godot 2020-03-16 11:56:57 +03:00
Aleksandr Razumov
4958e50dfe
Merge pull request #982 from bombsimon/wsl-3.0.0
Update wsl to v3.0.0
2020-03-15 18:39:14 +03:00
Simon Sawert
d68f9933b9
Bump wsl after rebase 2020-03-15 13:40:02 +01:00
Simon Sawert
4a2147930a
Update wsl to v3.0.0
* Support to force cuddle with error checking
* Support to separate leading comments with empty lines
2020-03-15 13:36:57 +01:00
Aleksandr Razumov
6fd43833bb
dev: prepare v1.24.0
GIT_TAG=v1.24.0 make README.md
v1.24.0
2020-03-15 14:25:47 +03:00
Aleksandr Razumov
b851f173b0
Merge pull request #992 from golangci/detailed-failed-prereq-err
goanalysis: make `failed prerequisites` error detailed
2020-03-15 13:53:11 +03:00
Aleksandr Razumov
e4643439b3
goanalysis: make failed prerequisites error detailed
Print actual error along with dep name.

Ref: #827
2020-03-15 13:47:35 +03:00
Aleksandr Razumov
a2bc9b7a99
Merge pull request #937 from Khan/fix-range-start
Change writeFixedFile to replace the right line-range.
2020-03-12 20:29:04 +03:00
Aleksandr Razumov
517f7e5f63
Merge pull request #983 from markus-wa/master
deps: upgrade mnd from v1.1.1 to 2.0.0
2020-03-12 20:08:05 +03:00
Aleksandr Razumov
28b87ea9a2
Merge pull request #984 from ittus/docs/update
Update bench_test url
2020-03-12 20:07:21 +03:00
Aleksandr Razumov
2c4ef2ba04
Merge pull request #987 from thaJeztah/update_staticcheck
update staticcheck to v2020.1.3
2020-03-12 20:06:16 +03:00
Aleksandr Razumov
14eed91cc4
Merge pull request #989 from ferhatelmas/vet-rule-disable
vet: Support disable rule when enable-all is true
2020-03-12 20:04:16 +03:00
ferhat elmas
4d367808be Support disable rule when enable-all is true
Similar to the behavior of command line flags:
enable-all to enable existing linters then disable unwanted ones.
But for vet rules.
2020-03-11 17:20:26 +01:00
Markus Walther
cea7e67040
deps: upgrade mnd from v1.1.1 to 2.0.0 2020-03-10 21:08:28 +00:00
Sebastiaan van Stijn
bf27481efd
update staticcheck to v2020.1.3
full diff: https://github.com/dominikh/go-tools/compare/2019.2.3...2020.1.3

Also updates tests to accomodate updated rules:

    --- FAIL: TestSourcesFromTestdataWithIssuesDir/staticcheck.go (0.43s)
            linters_test.go:137: [run --disable-all --print-issued-lines=false --print-linter-name=false --out-format=line-number --max-same-issues=10 -Estaticcheck --no-config testdata/staticcheck.go]
            linters_test.go:33:
                    Error Trace:    linters_test.go:33
                                                linters_test.go:138
                                                linters_test.go:53
                    Error:          Received unexpected error:

                                    staticcheck.go:11: no match for `self-assignment of x to x` vs ["SA4006: this value of `x` is never used"] in:
                                        staticcheck.go:11:2: SA4006: this value of `x` is never used
                                    unmatched errors
                                    staticcheck.go:11:2: SA4006: this value of `x` is never used
                    Test:           TestSourcesFromTestdataWithIssuesDir/staticcheck.go

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-03-10 14:55:19 +01:00
Vu Minh Thang
8ae2cae120 Update bench_test url 2020-03-10 14:26:32 +09:00
Aleksandr Razumov
76a82c6ed1
dev: prepare v1.23.8
GIT_TAG=v1.23.8 make README.md
v1.23.8
2020-03-04 06:43:41 +03:00
Aleksandr Razumov
43c43892c7
Merge pull request #978 from proton-ab/patch-1
Build docker images using Go 1.14
2020-03-04 06:40:19 +03:00
proton
5a12e35c07
Bump Dockerfile.alpine to golang:1.14-alpine 2020-02-28 21:53:39 +01:00
proton
b433acdce6
Bump Dockerfile to golang:1.14 2020-02-28 21:52:54 +01:00
Aleksandr Razumov
96964dbe0c dev: prepare v1.23.7
GIT_TAG=v1.23.7 make README.md
v1.23.7
2020-02-28 15:00:54 +03:00
Aleksandr Razumov
c9ff1ae80d
Merge pull request #976 from golangci/increase-scanner-buffer
autogenerated_exclude: increase scanner max buffer size
2020-02-28 14:41:20 +03:00
Aleksandr Razumov
8100507682 autogenerated_exclude: increase scanner max buffer size
Ref: #954
2020-02-28 14:09:52 +03:00
Aleksandr Razumov
938e1dde94
Merge pull request #975 from golangci/go1.14
dev: use go1.14
2020-02-28 14:07:38 +03:00
Aleksandr Razumov
6c2a75eff5
Merge pull request #969 from danielhelfand/timeout_err_msg
Change Increase to Increasing in Timeout Exceeded Error Message
2020-02-27 19:51:51 +03:00
Aleksandr Razumov
231439c169 dev: use go1.14 2020-02-26 15:11:43 +03:00
Daniel Helfand
a999403d3a change increase to increasing in timeout error 2020-02-18 11:42:58 -05:00
Aleksandr Razumov
b9eef79121
dev: release v1.23.6 v1.23.6 2020-02-10 20:43:43 +03:00
Aleksandr Razumov
27561c8f09
tools: update goreleaser 2020-02-10 20:43:00 +03:00
Aleksandr Razumov
02642d5ec9
dev: release v1.23.5 v1.23.5 2020-02-10 19:47:00 +03:00
Trevor Pounds
6436e9a757 Support Go 1.14rc1. v1.23.4 2020-02-08 15:05:17 -05:00
Aleksandr Razumov
536a4f0e12
Simplify alpine Dockerfile 2020-02-05 22:46:08 +03:00
Aleksandr Razumov
b7bff48413
Merge pull request #922 from Dominik-K/patch-1
Dockerfile.alpine: add Git & Mercurial
2020-02-05 22:43:09 +03:00
Aleksandr Razumov
f9d5832582
Merge pull request #953 from daixiang0/mips
Add MIPS arch support
2020-02-05 19:39:09 +03:00
Xiang Dai
dadbe98514 add missing mips option
Refer to https://golang.org/doc/install/source#environment and
https://goreleaser.com/customization/#Builds, add `hardfloat` as
default.

Signed-off-by: Xiang Dai <764524258@qq.com>
2020-02-05 11:09:11 +08:00
Trevor Pounds
c46c1b3224
Update to latest x/tools (#930)
* Update to latest x/tools (2020/01/19).

Fixes #893

* Initialize vet analyzers as unexportd global vars.

Fixes #915

* Support testing Go 1.14beta1.

* ci: reset go.mod and go.sum before generated diff check

* Update to latest x/tools (2020/02/04)

Co-authored-by: Aleksandr Razumov <ar@gortc.io>
2020-02-05 01:11:14 +03:00
Carlton Henderson
bec09851bf
fix #869 by removing lock file after unlocking (#947) 2020-02-04 23:47:39 +03:00
Aleksandr Razumov
2241adfcf0
dev: release v1.23.3
GIT_TAG=v1.23.2 make README.md
v1.23.3
2020-02-04 07:45:24 +03:00
Aleksandr Razumov
18ab7a0005
autogenerated_exclude: increase scanner buffer (#955)
* autogenerated_exclude: increase scanner buffer

Some lines can be very long, so increase scanner
buffer to mitigate this.

Fix #954
2020-02-03 20:42:30 +03:00
Aleksandr Razumov
4d165fc2dd
Merge pull request #958 from martinsirbe/update-warn-msg
gocritic: update disabled check warning message
2020-02-03 20:40:33 +03:00
Martins Irbe
42f2ad8a29 gocritic: update disabled check warning message 2020-02-03 16:38:27 +01:00
Xiang Dai
9b3e3cfbc5 Add MIPS arch support
Signed-off-by: Xiang Dai <764524258@qq.com>
2020-02-03 10:41:24 +08:00
Aleksandr Razumov
fd621bd3c6
dev: release v1.23.2
GIT_TAG=v1.23.2 make README.md
v1.23.2
2020-02-03 00:57:28 +03:00