Ludovic Fernandez
fcef82475c
docs: improve linters page ( #1995 )
...
* TOC level 3
* drop `.golangci.yaml` from the Configuration page
* generate a dedicated configuration section for each linters.
* fix changelog heading
2021-05-17 23:56:46 +02:00
Chris Bandy
5c6adb63c9
importas: allow repeated aliases ( #1960 )
Extra / Vulnerability scanner (push) Has been cancelled
CI / go-mod (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
Release a tag / release (push) Has been cancelled
CI / tests-on-windows (push) Has been cancelled
CI / tests-on-macos (push) Has been cancelled
CI / tests-on-unix (1.15) (push) Has been cancelled
CI / tests-on-unix (1.16) (push) Has been cancelled
CI / check_generated (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
2021-05-08 18:18:50 +02:00
Stephen Brown II
07a0568df1
importas: add message if settings contain no aliases ( #1956 )
2021-05-07 00:58:10 +02:00
Ludovic Fernandez
ffe80615b0
Update importas to HEAD ( #1934 )
2021-05-01 18:41:42 +02:00
Ludovic Fernandez
a7865d2430
Update errorlint to HEAD ( #1933 )
2021-05-01 18:41:26 +02:00
Ludovic Fernandez
34ffdc243f
revive: convert hard coded excludes into default exclude patterns ( #1938 )
2021-05-01 18:40:56 +02:00
Ludovic Fernandez
8f3ad45e1c
gosec: add configuration ( #1930 )
2021-04-24 23:20:12 +02:00
Ludovic Fernandez
cd6644d47b
revive: the default configuration is only applied when no dedicated configuration. ( #1831 )
2021-03-15 12:39:04 +01:00
Sergey Vilgelm
05836e489b
Integrate ImportAs linter ( #1783 )
...
* Integrate ImportAs linter
* review: don't panic :)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2021-02-26 13:08:49 -06:00
Ludovic Fernandez
4b3fb4c64f
revive: fix types and default configuration. ( #1747 )
2021-02-19 01:40:40 +01:00
Sebastian Spaink
35b6f35476
Add "revive" linter ( #1729 )
2021-02-14 14:36:37 +01:00
Nishanth Shanmugham
76c452197b
add 'predeclared' linter ( #1606 )
2021-01-07 17:58:04 +01:00
Andrew Shannon Brown
222076fdc6
Add forbidigo linter ( #1569 )
2020-12-24 17:19:32 +01:00
ZhangYunHao
9948153575
DefaultExcludePatterns should only be used for specified linter ( #1494 )
...
Co-authored-by: zhangyunhao <zhangyunhao@bytedance.com>
2020-11-12 15:21:19 +01:00
nishanths
58234f055c
update exhaustive to latest; use version in go.mod ( #1449 )
...
* update exhaustive to latest
* wip
* update dep
* update flag name
* use versioned dep
* add tests
* unused file
* no need config file
* add vars to test
* test comment
* remove default settings
2020-10-14 08:19:06 +02:00
Denis Tingaikin
01b566a646
Add go-header linter ( #1181 )
...
* add go-header linter
* apply review comments: add goheader example into .golangci.example.yml
* apply review comments: correctly handle multiline comments
2020-07-04 19:03:37 +00:00
Nishanth Shanmugham
f3376cab71
add exhaustive linter ( #1166 )
...
* wip
more
add new files
run command fixes
more
* go.mod
* order
* same package
* review comment
* enable linter in .golangci.yml
* add testcase for default-signifies-exhaustive: true
* adjust runGoErrchk instead
* disable the linter
* cleanup
* more cleanup
* cleanup
2020-05-29 16:31:46 +03:00
Ryan Currah
020b9e7103
added new linter gomodguard, disabled by default
2020-04-04 15:29:11 -04:00
Cody Ley-Han
a8f2c27d1d
Add user supplied error messages in depguard issues ( #662 )
2019-09-09 20:46:55 +03:00
Denis Isaev
ebadb7a679
Fix #384 : support ignore-words option for misspell
2019-02-17 23:47:29 +03:00
Denis Isaev
3e9b681cf0
fix #370 : fix go-critic configuration broken in v1.13
2019-01-26 18:35:45 +03:00