Aleksandr Razumov
c252122af0
Merge pull request #1038 from golangci/downgrade-dominikh-go-tools
...
mod: downgrade honnef.co/go/tools to v2019.2.3
2020-04-23 01:22:45 +03:00
Aleksandr Razumov
6db0292426
mod: downgrade honnef.co/go/tools to v2019.2.3
...
Hotfix for `failed prerequisites` errors.
Actual cause is still unknown.
Revert: #987
Ref: #994 , #995 , #1011
2020-04-23 01:16:55 +03:00
Aleksandr Razumov
0421b6e51a
readme: re-generate
2020-04-23 00:41:26 +03:00
Aleksandr Razumov
898bbb176e
Merge branch 'nakabonne-nestif'
2020-04-23 00:32:54 +03:00
Aleksandr Razumov
d00692c355
Merge branch 'nestif' of https://github.com/nakabonne/golangci-lint into nakabonne-nestif
2020-04-23 00:31:25 +03:00
Aleksandr Razumov
48361b9978
Merge pull request #852 from maratori/add-testpackage
...
Add linter testpackage
2020-04-23 00:17:33 +03:00
Aleksandr Razumov
aed4806aae
Merge pull request #1029 from kaka19ace/master
...
feat: [gocritic] support disabled-tags
2020-04-23 00:15:06 +03:00
Marat Reymers
9914737fc3
Add linter testpackage
2020-04-22 18:57:30 +03:00
Aleksandr Razumov
cbc2134faf
Merge pull request #1013 from ryancurrah/add-gomodguard-linter
...
added new linter gomodguard
2020-04-22 16:42:54 +03:00
Aleksandr Razumov
789d200fcf
Merge pull request #1032 from kortschak/go-install
...
doc: provide instructions for from-source installation
2020-04-22 14:18:04 +03:00
kaka_ace
00cc2336c7
feat: [gocritic] support disabled-tags
2020-04-22 12:11:56 +08:00
Dan Kortschak
f13612b04c
doc: address pr comment
2020-04-22 11:15:37 +09:30
Ryan Currah
68a71293f7
regenerate readme
2020-04-21 20:18:51 -04:00
Ryan Currah
990b43f19a
Merge remote-tracking branch 'golangci/master' into add-gomodguard-linter
2020-04-21 20:17:09 -04:00
nakabonne
37f0e44dfa
Remove vendoring
2020-04-22 08:58:24 +09:00
nakabonne
9442a4132c
Use sort.SliceStable instead of sort.Slice
2020-04-22 08:53:50 +09:00
nakabonne
0108387c24
Add nestif linter
2020-04-22 08:51:43 +09:00
Aleksandr Razumov
3fd6db779e
Merge pull request #1017 from viktorasm/add-github-output-format
...
Adding github actions output format
2020-04-22 02:04:11 +03:00
Aleksandr Razumov
1905465ee4
Merge pull request #1031 from golangci/disable-vendoring
...
dev: disable vendoring
2020-04-22 02:03:37 +03:00
Aleksandr Razumov
ef317c460d
dev: disable vendoring
...
Fix #743
2020-04-22 01:53:36 +03:00
Dan Kortschak
65981c2a0b
doc: provide instructions for from-source installation
2020-04-22 08:22:32 +09:30
Aleksandr Razumov
0d8381cea3
Merge pull request #993 from tetafro/master
...
Add new linter: godot
2020-04-22 01:50:56 +03:00
Aleksandr Razumov
6771beaee6
stale: ease rules
...
Fix #1024
2020-04-20 11:18:18 +03:00
Ryan Currah
a48cc71ecc
add space to start ci
2020-04-19 16:05:43 -04:00
Ryan Currah
6bb04d5ac0
use correct url, update gomodguard
2020-04-10 18:39:44 -04:00
Viktoras Makauskas
b7dada2249
slight cleanup
2020-04-11 00:41:24 +03:00
Viktoras Makauskas
04e6fd5d75
update README.md
2020-04-11 00:24:37 +03:00
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