14 Commits

Author SHA1 Message Date
Oleksandr Redko
b673c5c1af
dev: replace pkg/errors with native error wrapping ()
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-02-22 01:35:43 +01:00
Ludovic Fernandez
3a6f8408b7
go1.20 support () 2023-02-02 09:08:09 +01:00
Ludovic Fernandez
aba80c7fe2
feat: update gofmt and goimports and add option "rewrite-rules" () 2022-09-01 12:25:26 +00:00
Loong Dai
2f41c1f06b
gci: fix issues and re-enable autofix ()
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-05-30 19:51:38 +02:00
Ludovic Fernandez
f9d815115c
bump golang.org/x/tools to HEAD ()
* bump golang.org/x/tools to HEAD
* fix: adapt linters to the new validation system.
2022-05-23 12:39:57 +02:00
Ville Skyttä
86bd842377
chore: spelling and grammar fixes () 2022-05-20 02:59:31 +02:00
ngehrsitz
f7d2406dc6
bump github.com/daixiang0/gci from 0.2.9 to 0.3.0 ()
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-02-14 09:51:24 +01:00
Ludovic Fernandez
fce3949d5b
Deprecate 'scopelint' linter ()
* Deprecate scopelint linter

* clean code base.
2021-03-09 10:19:22 -08:00
Xiang Dai
60613dc3eb
Introduce gci as new linter ()
* Introduce gci as new linter

Signed-off-by: Xiang Dai <long0dai@foxmail.com>

* use goimports setting if not specified

Signed-off-by: Xiang Dai <long0dai@foxmail.com>
2020-07-28 13:55:02 +03:00
Sergey Vilgelm
c8bd9549a5
Support --fix for gofumpt () 2020-07-18 21:33:47 -05:00
Andrew Shannon Brown
909f628d75 Add linter for nolint
Linter can check that nolint statements are properly formatted and also that all
nolint statements are used.
2020-04-26 20:20:17 -07:00
Trevor Pounds
7a95e5ad30
Fix misspelled words. () 2020-02-02 16:29:57 -05:00
Ian Howell
39d7929d61 Improve the error output from goimports
This causes goimports to provide additional information if the
"local-prefixes" option has been set.
2019-10-03 10:00:34 -04:00
Isaev Denis
95ec0cf21e
dramatically reduce memory usage ()
Run all linters per package. It allows unloading package data when it's
processed. It dramatically reduces memory (and CPU because of GC) usage.

Relates: 
2019-09-30 16:19:41 +03:00