23 Commits

Author SHA1 Message Date
dependabot[bot]
affa7d119c
build(deps): bump github.com/OpenPeeDeeP/depguard/v2 from 2.1.0 to 2.2.0 ()
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-11-17 10:49:40 +01:00
Ludovic Fernandez
59a7aaf713
build(deps): bump github.com/OpenPeeDeeP/depguard/v2 from v2.0.1 to 2.1.0 () 2023-06-03 12:44:21 +02:00
Ludovic Fernandez
68be5babba
depguard: throw error only when the linter is called () 2023-06-02 22:43:45 +02:00
Ludovic Fernandez
dd7c3d1a0f
depguard: fix GOROOT detection () 2023-06-02 10:28:12 +02:00
Ludovic Fernandez
fb746c4b04
depguard: migrate to v2 () 2023-04-23 17:56:47 +02:00
Oleksandr Redko
1e700732e7
dev: gofmt -w -r 'interface{} -> any' pkg scripts () 2023-03-28 16:22:55 +02:00
Ludovic Fernandez
d03294f25f
fix: remove redundant character escape '\/' () 2022-10-06 00:09:31 +02:00
Ludovic Fernandez
8f00a10ad7
dev: improve tests on Windows () 2022-09-12 09:01:27 +02:00
Cory Miller
ae2a968805
depguard: adjust phrasing () 2022-06-15 02:40:19 +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
Ludovic Fernandez
8f7f44d175
depguard: reduce requirements () 2022-03-22 00:30:20 +01:00
Tim Kral
138699d60f
depguard: updates configuration ()
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-01-09 11:48:31 +01:00
Ludovic Fernandez
2ebc9d7202
dev: clean configuration and code () 2021-03-09 19:46:18 +01: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
Isaev Denis
9ba730e989
Make incremental analysis ()
Cache linting results. Reanalyze only changed packages
and packages tree depending on them.

Fixes , fixes 
2019-10-13 17:40:51 +03:00
Trevor Pounds
6d786b50ae Group imports by package. 2019-10-01 18:09:47 -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
Isaev Denis
6163a8a790
Support go1.13 ()
Setup Travis CI to run on go 1.12 and 1.13.
Update info about go versions in README.
Rebuild go.mod,go.sum on go1.13.
2019-09-09 21:54:56 +03:00
Cody Ley-Han
a8f2c27d1d Add user supplied error messages in depguard issues () 2019-09-09 20:46:55 +03:00
Denis Isaev
8fceb7fc47
Fix : support goimports.local-prefix option for goimports 2018-10-28 18:47:56 +03:00
golangci
034728ec94 generate parts of README automatically 2018-06-02 11:37:17 +03:00
golangci
0a111acaab refactor and don't print congrats if timeouted 2018-06-02 00:30:39 +03:00
Will Dixon
d46a5896b7 Add Depguard to supported linters 2018-05-31 23:19:41 -04:00