280 Commits

Author SHA1 Message Date
Ludovic Fernandez
00d17cc8d1
output: add colored-tab (#3729) 2023-04-04 01:57:22 +02:00
Oleksandr Redko
1e700732e7
dev: gofmt -w -r 'interface{} -> any' pkg scripts (#3742) 2023-03-28 16:22:55 +02:00
Ludovic Fernandez
ca0052c7d6
tests: remove go version restrictions (#3730) 2023-03-27 01:37:47 +02:00
Yifei Liu
134f2e0491
add tagalign linter (#3709) 2023-03-26 16:35:06 +02:00
dependabot[bot]
02f068921b
build(deps): bump github.com/sivchari/containedctx from 1.0.2 to 1.0.3 (#3732)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-03-26 16:32:36 +02:00
WÁNG Xuěruì
553d7df585
feat: add the gosmopolitan linter (#3458) 2023-03-25 23:35:39 +01:00
Patrick Ohly
d92b38cc3e
fix: combination of --fix and --path-prefix (#3700)
Some checks failed
Release a tag / release (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile]) (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/alpine.Dockerfile]) (push) Has been cancelled
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-03-20 21:44:36 +01:00
Anton Telyshev
a12be2d59a
docs: remove unused from config.LintersSettings (#3704)
Some checks failed
Release a tag / release (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile]) (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/alpine.Dockerfile]) (push) Has been cancelled
2023-03-18 11:04:34 +01:00
Patrick Ohly
b40a5443b3
fix: consider path prefix when matching path patterns (#3571) 2023-03-17 23:29:55 +01:00
Ludovic Fernandez
00c3aa47e4
rowserrcheck: remove limitation related to generics support (#3691) 2023-03-14 23:01:01 +01:00
Anton Telyshev
ff50ae4f99
wastedassign: remove limitation related to generics support (#3689) 2023-03-13 20:35:21 +01:00
dependabot[bot]
3a1f50d18c
build(deps): bump github.com/ashanbrown/forbidigo from 1.4.0 to 1.5.1 (#3639)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-02-27 22:51:58 +01:00
Oleksandr Redko
b673c5c1af
dev: replace pkg/errors with native error wrapping (#3604)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-02-22 01:35:43 +01:00
Oleksandr Redko
e8524ac199
dev: do not print extra whitespace in deprecated lint log (#3596) 2023-02-16 10:55:04 +01:00
Oleksandr Redko
a221d01b41
docs: Replace links to godoc.org with pkg.go.dev (#3584)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-02-11 15:02:32 +01:00
dependabot[bot]
b0b0e4cc6d
build(deps): bump github.com/ryanrolds/sqlclosecheck from 0.3.0 to 0.4.0 (#3545)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-02-02 15:59:45 +01:00
Ludovic Fernandez
3a6f8408b7
go1.20 support (#3414) 2023-02-02 09:08:09 +01:00
dependabot[bot]
5631503ea3
build(deps): bump 4d63.com/gochecknoglobals from 0.1.0 to 0.2.1 (#3496)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-01-24 08:27:42 +00:00
Leigh McCulloch
d5d671f0bf
feat: add gocheckcompilerdirectives (#3463) 2023-01-21 12:54:17 +00:00
Tom
3cc6373117
feat: add musttag linter (#3386)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-01-21 12:36:35 +00:00
Nahshon Unna Tsameret
26dde52d69
Add the ginkgolinter linter (#3369) 2022-12-26 22:03:07 +01:00
Ludovic Fernandez
67d57f4ed8
feat: remove deprecated linters from presets (#3405) 2022-12-08 01:14:32 +01:00
Choko
937e3d407b
build(deps): bump github.com/curioswitch/go-reassign v0.1.2 to v0.2.0 (#3234) 2022-09-25 10:58:16 +02:00
Abirdcfly
febe5fdb33
feat: add linter dupword (#3192) 2022-09-15 19:08:52 +02:00
kkHAIKE
213fb565e6
contextcheck: change owner (#3198) 2022-09-07 18:15:31 +02:00
Marat Reymers
281e1847f1
feat: add testableexamples linter (#3170) 2022-09-06 23:24:12 +02:00
Timon Wong
3a2ad9083a
feat: rename logrlint to loggercheck (#3144) 2022-09-06 23:23:32 +02:00
Ludovic Fernandez
19a338706a
dev: reference all the debug keys and env vars (#3196) 2022-09-06 11:48:25 +00:00
sylvia
cc2d97f31d
contextcheck: bump to v1.0.6 && re-enable (#3102)
Some checks failed
Release a tag / release (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile]) (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/alpine.Dockerfile]) (push) Has been cancelled
2022-08-23 14:03:20 +02:00
Choko
58809c3bf5
feat: add reassign linter (#3064) 2022-08-23 13:19:26 +02:00
Timon Wong
f48530e25e
feat: add logrlint (#3093)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-08-22 22:49:39 +02:00
Ludovic Fernandez
37d3aa437a
feat: deprecate varcheck, deadcode, and structcheck (#3125) 2022-08-21 21:37:47 +02:00
Sasha Melentyev
63b2fe0048
feat: add interfacebloat (#3024)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-08-21 14:05:41 +02:00
dependabot[bot]
9da04f5070
build(deps): bump github.com/go-critic/go-critic from 0.6.3 to 0.6.4 (#3089)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-08-14 18:21:32 +02:00
sivchari
d4fd2db3d5
nosnakecase: deprecate linter (#3065)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-08-05 12:42:47 +02:00
Ludovic Fernandez
1557692e59
feat: go1.19 support (#3037) 2022-08-03 20:53:06 +02:00
Ludovic Fernandez
6313fa9a67
contextcheck: disable linter (#3050) 2022-08-03 19:44:19 +02:00
Sasha Melentyev
0ba1388a41
feat: add usestdlibvars (#3016) 2022-08-03 11:13:50 +02:00
Eugene Simonov
9a1b9492d6
ifshort: deprecate linter (#3034)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-08-01 14:22:11 +02:00
Sasha Melentyev
a9dc1ce178
dev: change format like function without args (#3012)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-07-24 18:24:01 +02:00
Ludovic Fernandez
d44cd49a20
feat: remove some go1.18 limitations (#3001)
* fix: restore some linters

- govet(nilness,unusedwrite)
- bodyclose
- contextcheck
- nilerr
- noctx
- tparallel

* fix: remove structcheck from the default linters.
2022-07-21 16:52:06 +02:00
Ludovic Fernandez
ebd6dcbf92
Revert 'fix: generics (#2991)' (#2995)
Some checks failed
Release a tag / release (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
2022-07-19 13:29:54 +02:00
Ludovic Fernandez
c39bf96129
fix: disable structcheck for go >= 1.18 (#2994) 2022-07-19 12:32:33 +02:00
Ludovic Fernandez
eb16e701db
fix: generics (#2991) 2022-07-19 09:12:58 +02:00
alingse
b415402720
Add linter asasalint to lint pass []any as any (#2968)
Some checks failed
Release a tag / release (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
2022-07-18 09:17:27 +02:00
sivchari
1d8a15a0cc
add nosnakecase lint (#2828)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-06-30 16:36:33 +02:00
dependabot[bot]
023e1c4fdf
build(deps): bump github.com/firefart/nonamedreturns from 1.0.2 to 1.0.4 (#2944)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-06-28 14:13:15 +02:00
dependabot[bot]
98c811d0e5
build(deps): bump github.com/firefart/nonamedreturns from 1.0.1 to 1.0.2 (#2929)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-06-19 14:20:47 +02:00
Ludovic Fernandez
4b218e664c
config: spread go version on linter's configurations (#2913) 2022-06-13 09:01:05 +02:00
dependabot[bot]
97eea6ea49
build(deps): bump github.com/kunwardeep/paralleltest from 1.0.4 to 1.0.6 (#2918)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-06-12 13:43:23 +02:00