275 Commits

Author SHA1 Message Date
Ludovic Fernandez
00d17cc8d1
output: add colored-tab (#3729) 2023-04-04 01:57:22 +02:00
Ludovic Fernandez
ca05239caf
feat: remove warning when the config file is explicitly stdin (#3740) 2023-03-29 08:51:14 +02:00
Oleksandr Redko
1e700732e7
dev: gofmt -w -r 'interface{} -> any' pkg scripts (#3742) 2023-03-28 16:22:55 +02:00
Nahshon Unna Tsameret
fb7d328aec
ginkgolinter: add suppress-async-assertion option (#3735) 2023-03-26 17:55:13 +02:00
Yifei Liu
134f2e0491
add tagalign linter (#3709) 2023-03-26 16:35:06 +02:00
WÁNG Xuěruì
553d7df585
feat: add the gosmopolitan linter (#3458) 2023-03-25 23:35:39 +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
Nahshon Unna Tsameret
49ce80ae82
build(deps): bump github.com/nunnatsa/ginkgolinter from 0.8.1 to 0.9.0 (#3643) 2023-03-02 10:05:30 +01:00
Ludovic Fernandez
e5b30649e6
dev: add Go version to version information (#3625) 2023-03-02 00:34:22 +01:00
ferhat elmas
075691c4e9
feat: add TeamCity output format (#3606)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
Co-authored-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
2023-02-27 21:22:57 +01:00
dependabot[bot]
f0dbc757c8
build(deps): bump github.com/polyfloyd/go-errorlint from 1.1.0 to 1.2.0 (#3636)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-02-26 14:59:25 +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
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
Carlos Henrique Guardão Gandarez
0cc3585947
wsl: fix force-err-cuddling flag (#3407) 2022-12-12 17:52:37 +00:00
dependabot[bot]
7fb302126a
build(deps): bump github.com/nishanths/exhaustive from 0.8.3 to 0.9.2 (#3381)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-11-27 16:54:20 +01:00
dependabot[bot]
ce9b9d62ed
build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.20.0 to 1.21.1 (#3318)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-10-23 14:38:13 +02:00
Abirdcfly
febe5fdb33
feat: add linter dupword (#3192) 2022-09-15 19:08:52 +02:00
Anton Zinovyev
b1cec4755f
wsl: support all configs and update docs (#3202) 2022-09-12 09:07:44 +02:00
Marat Reymers
8a3b754ca2
exhaustive: add missing config (#3212) 2022-09-11 17:07:37 +00:00
dependabot[bot]
1f155b7ef6
build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.17.1 to 1.19.0 (#3206)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-09-11 11:51:31 +00:00
dependabot[bot]
33a78c9266
build(deps): bump github.com/nishanths/exhaustive from 0.8.1 to 0.8.3 (#3207)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-09-11 11:50:31 +00:00
Timon Wong
3a2ad9083a
feat: rename logrlint to loggercheck (#3144) 2022-09-06 23:23:32 +02:00
Anton Kachurin
091d2f4324
interfacebloat: fix configuration loading (#3194)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-09-05 10:27:46 +00:00
dependabot[bot]
70d595e91d
build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.14.0 to 1.17.1 (#3188)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-09-03 19:28:28 +00:00
Ludovic Fernandez
aba80c7fe2
feat: update gofmt and goimports and add option "rewrite-rules" (#3174) 2022-09-01 12:25:26 +00:00
Choko
58809c3bf5
feat: add reassign linter (#3064) 2022-08-23 13:19:26 +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
Ludovic Fernandez
d286cb910c
docs: add a section about default exclusions (#3117) 2022-08-20 19:05:13 +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
dependabot[bot]
be10ef2636
build(deps): bump github.com/mgechev/revive from 1.2.1 to 1.2.2 (#3075)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-08-07 13:57:17 +02:00
Sasha Melentyev
0ba1388a41
feat: add usestdlibvars (#3016) 2022-08-03 11:13:50 +02:00
Dreamacro
15cba447fd
gci: add missing custom-order setting (#3052) 2022-08-03 10:50:42 +02:00
Ludovic Fernandez
f8f8f9a6e7
nolint: drop allow-leading-space option and add "nolint:all" (#3002) 2022-08-01 14:21:04 +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
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
Ludovic Fernandez
27f921fa14
dev: use directives instead of comments for tests (#2978) 2022-07-15 15:32:10 +02:00
Loong Dai
b8f1e2a549
build(deps): bump github.com/daixiang0/gci from 0.3.4 to 0.4.0 (#2965)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-07-09 23:15:47 +02:00
dependabot[bot]
3a0f646e31
build(deps): bump github.com/maratori/testpackage from 1.0.1 to 1.1.0 (#2945)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-06-28 14:44:44 +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
Sasha Melentyev
c6fd368c89
dev: preallocate some slices and maps (#2902) 2022-06-05 22:16:21 +02:00
Ludovic Fernandez
b504325dc5
thelper: allow to disable one option (#2854) 2022-05-16 21:16:25 +02:00
Anton Zinovyev
380699a099
feat: add exhaustruct linter (#2667)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-04-30 12:48:16 +02:00
Aleksey Bakin
7086a94425
bump github.com/kulti/thelper from 0.5.1 to 0.6.2 (#2742) 2022-04-07 08:11:09 +03:00
Maik Schreiber
d2ccc6d2bb
bump varnamelen to v0.8.0 (#2703) 2022-03-30 03:00:13 +02:00
dependabot[bot]
b0ff233b2c
build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.5.0 to 2.6.0 (#2696)
* build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.5.0 to 2.6.0

Bumps [github.com/tomarrell/wrapcheck/v2](https://github.com/tomarrell/wrapcheck) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/tomarrell/wrapcheck/releases)
- [Commits](https://github.com/tomarrell/wrapcheck/compare/v2.5.0...v2.6.0)

---
updated-dependencies:
- dependency-name: github.com/tomarrell/wrapcheck/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* add new option

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-03-27 15:33:36 +03:00
Ludovic Fernandez
7bbbe77e5e
feat: automatic Go version detection (#2669)
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
* feat: disable unsupported go1.18 govet analyzers
* fix: inactivate interfacer with go1.18
2022-03-23 16:54:11 +01:00