905 Commits

Author SHA1 Message Date
Chaliy Roman Aleksandrovich
8c519af80b
codeclimate: less memory allocation (#3882) 2023-06-04 07:59:04 +02:00
Ludovic Fernandez
59a7aaf713
build(deps): bump github.com/OpenPeeDeeP/depguard/v2 from v2.0.1 to 2.1.0 (#3883)
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-06-03 12:44:21 +02:00
Ludovic Fernandez
68be5babba
depguard: throw error only when the linter is called (#3880) 2023-06-02 22:43:45 +02:00
Ludovic Fernandez
e5243324a6
importas: fix duplication detection when aliases use regular expression replacement pattern (#3869)
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-06-02 11:01:43 +02:00
Ludovic Fernandez
dd7c3d1a0f
depguard: fix GOROOT detection (#3866) 2023-06-02 10:28:12 +02:00
Oleg Butuzov
9f2528a30c
mirror: linter that suggest using alternative string/[]byte functions (#3825)
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-06-01 14:16:39 +02:00
Oleksandr Redko
0520232e01
dev: simplify issues and enabled set tests (#3832) 2023-05-31 22:34:18 +02:00
Patrick Ohly
afd0ba5278
forbidigo: better support for configuring complex rules (#3612) 2023-05-31 22:33:20 +02:00
Patrick Ohly
8fde4632fa
rules: support inverted path match (#3617) 2023-05-31 17:25:59 +02:00
dependabot[bot]
8bbb6555e3
build(deps): bump github.com/securego/gosec/v2 from 2.15.0 to 2.16.0 (#3843)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-05-21 16:01:13 +02:00
Oleksandr Redko
c7b50f67c9
dev: replace sliceutil package with exp/slices (#3830)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-05-12 03:27:23 +02:00
dependabot[bot]
bc616e8b65
build(deps): bump github.com/go-critic/go-critic from 0.7.0 to 0.8.0 (#3810)
Co-authored-by: Oleksandr Redko <Oleksandr_Redko@epam.com>
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-04-30 15:36:15 +02:00
dependabot[bot]
58182e7840
build(deps): bump github.com/nunnatsa/ginkgolinter from 0.11.0 to 0.11.2 (#3811)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-04-30 15:32:49 +02:00
Ludovic Fernandez
fb746c4b04
depguard: migrate to v2 (#3795) 2023-04-23 17:56:47 +02:00
Ludovic Fernandez
cec16b68ab
usestdlibvars: fix configuration (#3797) 2023-04-23 17:56:27 +02:00
Rory Prendergast
842abcde73
gci: improve error message (#3777) 2023-04-21 22:22:54 +02:00
hbc
52edd01248
gosec: convert global settings as map with proper key type (#3779)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-04-21 22:20:59 +02:00
Tom
745ecb9efe
build(deps): bump go.tmz.dev/musttag from 0.5.0 to 0.6.0 (#3791) 2023-04-21 21:29:15 +02:00
Oleksandr Redko
1948081d84
dev: remove unused ctx parameter from Printer (#3761) 2023-04-16 18:18:53 +02:00
Yusuke Kadowaki
8674597b84
add linter zerologlint (#3726)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-04-16 18:17:49 +02:00
Mattias de Zalenski
8f8c68ab88
build(deps): bump github.com/alexkohler/nakedret to 2.0.1 (#3760) 2023-04-14 04:49:38 +02:00
Ludovic Fernandez
2dede6aa2e
importas: fix typo in logs (#3762) 2023-04-04 11:09:08 +02:00
Ludovic Fernandez
51f8a6141c
importas: detect duplicate alias or package in the configuration (#3753) 2023-04-04 09:16:10 +02:00
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
Ludovic Fernandez
ca0052c7d6
tests: remove go version restrictions (#3730) 2023-03-27 01:37:47 +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
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
Ludovic Fernandez
076f6b911d
fix: improve panic management (#3710) 2023-03-19 23:02:16 +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
Oleg Kovalov
e27b129e74
build(deps): bump github.com/go-critic/go-critic from 0.6.7 to 0.7.0 (#3701) 2023-03-17 17:33:56 +01:00
dependabot[bot]
77d398e612
build(deps): bump github.com/mgechev/revive from 1.2.5 to 1.3.0 (#3698)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-03-15 02:28:25 +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
Oleksandr Redko
09f9e77779
doc: enhance errcheck description (#3688) 2023-03-13 16:16:50 +01:00
Oleksandr Redko
ad334b0650
doc: replace golang with Go in descriptions for gci, thelper, goerr113 (#3651) 2023-03-03 13:46:16 +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
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
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
f4fec8c6d0
dev: bytes.NewBuffer/bytes.NewBufferString to shorten initialization (#3632) 2023-02-24 16:40:18 +01:00
black-06
610a2bd199
lll: skip go command (#3572)
Co-authored-by: Ludovic Fernandez <ldez@users.noreply.github.com>
2023-02-22 02:13:49 +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
dependabot[bot]
a775985f5d
build(deps): bump github.com/go-critic/go-critic from 0.6.5 to 0.6.6 (#3616)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-02-19 15:27:57 +01:00