207 Commits

Author SHA1 Message Date
Oleksandr Redko
d31832751e
dev: clean up unused receivers with revive (#4599) 2024-03-30 00:42:10 +01:00
Ludovic Fernandez
dac4ba3f13
fix: remove help display on error with verify command (#4597) 2024-03-29 21:00:34 +01: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
77a8601aa3
fix: hide useless warning (#4587)
Some checks failed
Release a tag / release (push) Has been cancelled
2024-03-28 19:39:06 +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
eaafdf3623
feat: add verify command (#4527) 2024-03-19 21:35:21 +01:00
Oleksandr Redko
6709c974a4
dev: refactor .golangci.yml configuration and fix up nolintlint issues (#4537) 2024-03-19 16:38:59 +01:00
Ludovic Fernandez
e3ed3ba1d6
feat: new output.formats file configuration syntax (#4521) 2024-03-18 13:27:04 +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
Oleksandr Redko
17329443f1
dev: display help message with green color (#4497) 2024-03-13 15:05:35 +01:00
Oleksandr Redko
2a1afc14cb
dev: use cmd.Context inside custom command (#4496) 2024-03-13 13:30:37 +01:00
Ludovic Fernandez
0554536620
dev: minor clean up (#4492) 2024-03-12 23:38:14 +01:00
Oleksandr Redko
331d29bee3
dev: fix a typo in the log about preserving temp (#4491) 2024-03-12 19:11:36 +01:00
Oleksandr Redko
59202b196d
docs: improve grammar in the custom linter article (#4489) 2024-03-12 14:35:46 +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
0683d45142
feat: add sort-order option (#4467) 2024-03-08 22:06:20 +01:00
Ludovic Fernandez
803970f0ed
feat: allow running only a specific linter without modifying the file configuration (#4438) 2024-03-06 20:43:12 +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
Ludovic Fernandez
64492b5e59
feat: disable copyloopvar and intrange on Go < 1.22 (#4397) 2024-02-19 13:58:58 +00:00
dependabot[bot]
ca7b7a42d2
build(deps): bump github.com/mgechev/revive from 1.3.6 to 1.3.7 (#4355)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2024-02-07 21:30:45 +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
Oleksandr Redko
f714c5d842
docs: uppercase command option descriptions for consistency (#4135) 2023-10-17 17:01:49 +02:00
Ludovic Fernandez
79c78d6f6f
feat: explain typecheck and remove it from the linter list (#3929) 2023-06-29 22:40:59 +02:00
Ludovic Fernandez
6c7aba67ec
fix: include custom linters in enable-all (#3911) 2023-06-16 10:00:09 +02: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
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
Oleksandr Redko
f4fec8c6d0
dev: bytes.NewBuffer/bytes.NewBufferString to shorten initialization (#3632) 2023-02-24 16:40:18 +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
Mitsuo Heijo
fe53ca0cd4
fix: cache status size calculation (#3611) 2023-02-18 02:41:29 +01:00