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
Aleksandr Razumov
5999fb0b0a
Merge pull request #944 from ksoichiro/fix-failed_prerequisites-error
...
Fix failed_prerequisites error
2020-02-03 00:49:20 +03:00
Trevor Pounds
7a95e5ad30
Fix misspelled words. ( #952 )
2020-02-02 16:29:57 -05:00
Alex Collins
4f3e410581
Add Intuit to README.md ( #936 )
2020-01-30 18:19:08 -05:00
Stephen Groat
c5a06256d7
fix golangci.yml reference
2020-01-30 18:17:44 -05:00
Soichiro Kashima
796b4fffbe
Clear part of package fields before analysis
2020-01-28 17:02:00 +09:00
Soichiro Kashima
bb41e54b04
Fix failed_prerequisites error
2020-01-28 01:57:05 +09:00
Craig Silverstein
06d26d5c12
Change writeFixedFile to replace the right line-range.
...
The function assumed, previously, that issue.Line always equals
issue.LineRange.From. But this needn't be true, and the code needn't
assume it. Now we actually replace the specified line-range.
2020-01-22 09:14:40 -08:00
Trevor Pounds
45f1e48f3d
Fix rowserrcheck URL.
...
Fixes #932
2020-01-21 21:39:11 -05:00
Trevor Pounds
a5b55982aa
Merge pull request #929 from ewohltman/master
...
Re-enable `gomnd` linter with release > v1.23.0
2020-01-20 12:17:37 -05:00
Eric Wohltman
b248dc5f97
Run make --always-make fast_generate
2020-01-20 09:49:13 -05:00
Eric Wohltman
cc8b9101d6
Fix test failure from gomnd
2020-01-20 09:37:58 -05:00
Eric Wohltman
e76db1ae58
Re-enable gomnd
linter with release > v1.23.0
2020-01-20 09:16:04 -05:00
Denis Isaev
567904e8b9
dev: prepare for v1.23.1
...
GIT_TAG=v1.23.1 make README.md
v1.23.1
2020-01-20 10:50:34 +03:00
Isaev Denis
6237e59c97
dev: use goprintffuncname, gomnd and rowserrcheck ( #927 )
...
Order linters in config in alphabetical order.
Support gomnd configuration.
2020-01-19 19:55:29 +03:00
Trevor Pounds
88b6c25075
Update golangci.com config to 1.22.x release. ( #904 )
2020-01-19 18:31:49 +03:00