145 Commits

Author SHA1 Message Date
Ludovic Fernandez
3785a3b951
dev: option to not check deprecation (#4591) 2024-04-01 19:05:44 +02:00
Ludovic Fernandez
288c847019
feat: replace gomnd by mnd (#4572) 2024-03-28 21:23:44 +01:00
Ludovic Fernandez
c5f13bac2a
dev: clean code arround CLI args usage (#4557) 2024-03-28 20:48:43 +01:00
Ludovic Fernandez
87a35e63a9
dev: organize golinters package (#4578) 2024-03-26 20:55:39 +01:00
Ludovic Fernandez
1b6f0069d4
dev: silence help on some commands usage on error (#4542) 2024-03-19 21:49:18 +01:00
Ludovic Fernandez
a5e2fd817e
dev: remove Run.Args (#4525) 2024-03-18 00:36:05 +01:00
Ludovic Fernandez
7ad5ccb65b
dev: split ContextLoader (#4516) 2024-03-17 22:52:28 +01:00
Ludovic Fernandez
4b7a55a79d
feat: replace run.skip-xxx options by issues.exclude-xxx options (#4509) 2024-03-16 17:07:42 +01:00
Ludovic Fernandez
0554536620
dev: minor clean up (#4492) 2024-03-12 23:38:14 +01:00
Ludovic Fernandez
167204c1fd
feat: new custom linters system (#4437) 2024-03-11 17:40:26 +01:00
Ludovic Fernandez
f0fdea006f
dev: the printer just needs Output configuration (#4479) 2024-03-11 16:37:19 +01:00
Ludovic Fernandez
05f27abc01
dev: clean up command contructors (#4478) 2024-03-11 16:20:07 +01:00
Ludovic Fernandez
6fda81008d
dev: clean context loader (#4480) 2024-03-11 16:19:53 +01:00
Ludovic Fernandez
c902b8e9d4
fix: panic when concurrency=0 (#4477) 2024-03-10 15:43:09 +01:00
Ludovic Fernandez
8f2459bf0e
fix: move show-stats field from run to output (#4439) 2024-03-04 14:15:41 +01:00
Ludovic Fernandez
979a4aabe3
dev: isolate printer code (#4435) 2024-03-03 16:00:23 +00:00
Ludovic Fernandez
b1eed50751
feat: automatically adjust the maximum concurrency to the container CPU quota (#4441) 2024-03-03 16:58:55 +01:00
Ludovic Fernandez
b14d05cdb4
dev: rewrite linters Manager (#4419) 2024-03-02 21:43:28 +01:00
Ludovic Fernandez
784264d72e
dev: new commands system (#4412) 2024-02-27 00:03:48 +01:00
Ludovic Fernandez
8c51979ec8
dev: clean up Executor (#4404) 2024-02-23 20:38:42 +01:00
Mateus Oliveira
a727aa5780
dev: remove unrelated flags from config and linters command (#4284)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-02-03 20:11:24 +01:00
Mostafa Moradian
b3ffe708b4
feat: implement stats per linter with a flag (#4341)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-02-02 19:32:46 +00:00
Oleksandr Redko
85fb5a2493
dev: enable errorlint linter (#4292) 2024-01-02 15:33:00 +01:00
Mateus Oliveira
b2901be299
docs: improve .golangci.reference.yml defaults (#4271)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-12-19 22:22:05 +01:00
Mitar
66a9130840
dev: replace tab by space inside CLI help (#4221) 2023-11-26 22:00:21 +01:00
Ludovic Fernandez
fb746c4b04
depguard: migrate to v2 (#3795) 2023-04-23 17:56:47 +02:00
Oleksandr Redko
1948081d84
dev: remove unused ctx parameter from Printer (#3761) 2023-04-16 18:18:53 +02:00
Ludovic Fernandez
00d17cc8d1
output: add colored-tab (#3729) 2023-04-04 01:57:22 +02: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
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
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
Ludovic Fernandez
19a338706a
dev: reference all the debug keys and env vars (#3196) 2022-09-06 11:48:25 +00: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
Ville Skyttä
a768760ce7
dev: clean commands (#3007)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-07-23 00:55:25 +02: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
Ludovic Fernandez
0c0804c6a4
go1.18 support (#2438) 2022-03-18 14:58:24 +01:00
Lauris BH
d209389625
Add support for multiple outputs (#2386) 2022-01-04 21:36:27 +01:00
Ludovic Fernandez
aa3550ab83
fix: reduce flaky in the CI and clean the .golangci.yml of the project (#2359)
* fix: clean linter configuration
* fix: minor changes
* fix: increase timeout
2021-11-14 16:03:40 +01:00
Oleksandr Redko
99c6516c6b
docs: fix grammar issues in comments (#2352) 2021-11-11 05:56:36 +01:00
Sebastien Rosset
2c01ea7ff2
gocritic: add support for variable substitution in ruleguard path settings (#2308)
* Add  variable for ruleguard config directory

* Add  variable for ruleguard config directory

* Add  variable for ruleguard config directory

* Add  variable for ruleguard config directory

* Add unit tests

* Add unit tests for ruleguard

* Add unit tests for ruleguard

* Add unit tests for ruleguard

* Add unit tests for ruleguard, fix package name
2021-11-02 11:34:19 -07:00
Ludovic Fernandez
a8887d5655
fix: don't hide enable-all option (#2338) 2021-11-02 14:02:23 +01:00
Benjamin
e5cd59a607
dev: replace ioutil with io and os (#2318) 2021-11-01 20:21:26 +01:00
Nate Finch
9b577fcb80
new-from-rev: add support for finding issues in entire files in a diff (#2264) 2021-09-30 18:43:31 +02:00
Matthew Cobbing
2862ca630c
output: generate HTML report (#2043) 2021-06-08 01:33:40 +02:00
Ludovic Fernandez
505ed3c0f7
doc: Un-deprecate enable-all option. (#2039) 2021-06-02 17:04:48 +02:00
Ludovic Fernandez
9cb902cdf2
fix: comma in exclude pattern leads to unexpected results (#1917) 2021-04-19 15:20:49 +02:00
Sergey Vilgelm
251b205f54
Deprecate Interfacer linter (#1755) 2021-02-20 18:55:11 -06:00
iwankgb
d32798769c
Cobra.Command.SetOutput is depracated (#1554) 2020-12-13 00:01:31 +00:00
iwankgb
164cfab820
Removing reference to no-longer-existing linter-in-the-cloud (#1553) 2020-12-12 21:59:15 +00:00
iwankgb
993337baa2
Using upstrem goconst (#1500)
github.com/golangci/goconst is now obsolete :)
2020-11-17 19:07:37 +00:00