Ludovic Fernandez
b916c9318b
staticcheck: configuration for staticcheck
, gosimple
, stylecheck
( #2017 )
2021-05-27 20:11:30 +02:00
Ludovic Fernandez
cf8fd685d0
revive: fix add-constant rule support. ( #2003 )
2021-05-19 17:39:10 +02:00
takaya
b73972f6af
docs: fix pattern of forbidigo in example config yaml ( #2000 )
2021-05-19 17:14:39 +02:00
Oleg Butuzov
42a3299184
docs: exhaustivestruct example explanation ( #1985 )
2021-05-15 15:45:59 +02:00
Oleg Butuzov
47baa2c1fa
doc: fix example config yaml identation ( #1976 )
2021-05-13 05:10:42 +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
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
Tom Arrell
92fda268b2
Update Wrapcheck to v2, add configuration ( #1947 )
2021-05-01 00:13:51 +02:00
Ludovic Fernandez
12ed5facc9
staticcheck: configurable Go version. ( #1946 )
2021-04-30 22:28:50 +02:00
Ludovic Fernandez
8f3ad45e1c
gosec: add configuration ( #1930 )
2021-04-24 23:20:12 +02:00
Simon Sawert
d6bcf9f4b2
Update wsl to 3.3.0, sort config in example config ( #1922 )
...
* Update wsl to 3.3.0, sort config in example config
* chore: ignore CVE-2020-26160
2021-04-21 19:18:09 +02:00
Ludovic Fernandez
5d10450bc9
dev: clean configuration, documentation, and code ( #1911 )
...
* Remove dead code related to golangci.com
* remove old build tags
* stale bot: remove bug label from `exemptLabels`
* order `gitignore` entries alphabetically
* doc: order `linters-settings` alphabetically
* remove obsolete exclude rule
* release: add docs prefix to skip the commit in the changelog
2021-04-14 12:48:48 +02:00
Ludovic Fernandez
93df6f75f5
Add tagliatelle linter ( #1906 )
2021-04-12 17:59:50 +02:00
Takumasa Sakao
c5891c0d93
Bump importas to HEAD ( #1899 )
2021-04-06 03:06:41 +02:00
Ben Ye
6844f6abf8
Add promlinter to lint metrics name ( #1265 )
2021-03-30 14:56:42 +02:00
Oleg Butuzov
d28c66672e
docs: adding missing format options ( #1840 )
2021-03-13 04:46:03 +01:00
Ludovic Fernandez
94d2d803d2
Add gomoddirectives linter. ( #1817 )
2021-03-09 18:59:06 +01:00
Daniele
19b7d05737
docs: Update .golangci.example.yml ( #1816 )
...
Minor typo fixed.
2021-03-09 18:40:23 +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
Anton Antonov
89315e00fb
Fix go-header usage ( #1785 )
...
There's a known behavior of YAML template blocks using `|` that they insert a trailing newline.
To remove it add `-` a.k.a block chomping indicator.
2021-02-26 10:21:44 -06:00
Ludovic Fernandez
42ff682f7f
Deprecate maligned, add govet fieldalignment
as replacement ( #1765 )
2021-02-22 17:46:27 +01:00
Simon Sawert
b7aac3b1ad
Bump wsl to v3.2.0 ( #1750 )
2021-02-20 15:16:10 +01:00
Ludovic Fernandez
ea5f479087
exhaustivestruct: add missing settings ( #1746 )
2021-02-19 19:20:47 +01:00
Bartłomiej Klimczak
2121370f81
add 'cyclop' linter ( #1738 )
2021-02-17 09:48:29 +01:00
Sebastian Spaink
35b6f35476
Add "revive" linter ( #1729 )
2021-02-14 14:36:37 +01:00
Aleksey Bakin
cc152be1a9
bump thelper linter version to v0.3.0 ( #1696 )
2021-02-07 18:28:04 +01:00
Andrew Shannon Brown
9e0c9f3929
Expose more config options for forbidigo ( #1677 )
2021-02-01 21:16:28 +01:00
Eugene Simonov
0a474a2637
Update ifshort to v1.0.1 ( #1671 )
2021-01-30 17:08:46 +01:00
Denis Krivak
89367aee22
Add "exclude" option for godot linter ( #1669 )
2021-01-29 15:23:12 +01:00
Eugene Simonov
750309d157
Add ifshort linter ( #1587 )
2021-01-20 23:07:43 +01:00
Matt Braymer-Hayes
257eb9523a
Add issues.fix config to example configuration. ( #1648 )
2021-01-13 00:20:15 +01:00
Ludovic Fernandez
1e5ba1eb70
fix: modules-download-mode support ( #1593 )
Extra / Vulnerability scanner (push) Failing after 2m2s
CI / go-mod (push) Failing after 17m24s
CI / golangci-lint (push) Failing after 17m22s
Release a tag / release (push) Failing after 17m20s
CI / tests-on-windows (push) Has been cancelled
CI / tests-on-macos (push) Has been cancelled
CI / tests-on-unix (1.13) (push) Has been cancelled
CI / tests-on-unix (1.14) (push) Has been cancelled
CI / tests-on-unix (1.15) (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-01-07 23:37:22 +01:00
Nishanth Shanmugham
76c452197b
add 'predeclared' linter ( #1606 )
2021-01-07 17:58:04 +01:00
Denis Tingaikin
260dc80742
Bump go-header to v0.4.2 ( #1585 )
...
Extra / Vulnerability scanner (push) Failing after 15m16s
CI / go-mod (push) Failing after 15m14s
CI / golangci-lint (push) Failing after 15m13s
Release a tag / release (push) Failing after 15m11s
CI / tests-on-windows (push) Has been cancelled
CI / tests-on-macos (push) Has been cancelled
CI / tests-on-unix (1.13) (push) Has been cancelled
CI / tests-on-unix (1.14) (push) Has been cancelled
CI / tests-on-unix (1.15) (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
Signed-off-by: Denis Tingajkin <denis.tingajkin@xored.com>
2020-12-28 17:22:37 +07:00
Andrew Shannon Brown
222076fdc6
Add forbidigo linter ( #1569 )
2020-12-24 17:19:32 +01:00
Ryan Currah
a893212f02
gomodguard: updated for new features and fixes ( #1567 )
2020-12-20 11:27:55 +01:00
Sebastien Rosset
87cdb2ddf9
Add settings examples for gocritic ( #1562 )
2020-12-18 11:35:30 +01:00
Brian Flad
e26630a82c
deps: Bump github.com/tommy-muehle/go-mnd@v2.2.0 ( #1558 )
...
Reference: https://github.com/golangci/golangci-lint/issues/1557
Upstream project does not support Go Modules to reference @v2.2.0 directly, so used commit at that tag.
Updated via:
```console
$ go get github.com/tommy-muehle/go-mnd@16041ac3fe65b98fbbf4c3c9b88c346196211614
$ go mod tidy
```
2020-12-15 00:54:32 +01:00
Aleksey Bakin
0370d3adea
Add thelper linter ( #1541 )
2020-12-13 14:54:26 +01:00
Andrew Shannon Brown
cf32a7b706
Add makezero linter ( #1520 )
...
makezero ensures that objects recognized as slices are initialized with length 0. By default, this is only required when we find a subsequent append to the object, but can also be enabled at all times as a way of discouraging the use of integer variables (i.e. "i") to index slices.
2020-12-05 07:37:37 -08:00
iwankgb
c68692e99f
Missing sort-results in the docs ( #1514 )
2020-11-17 22:46:11 +01:00
Denis Krivak
df2e9e2ebd
Update godot to 1.3.0 ( #1498 )
2020-11-10 20:11:26 +03: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
Vladimir Evgrafov
796a958805
Add go-errorlint ( #1420 )
...
* Add errorlint
* Add errorlint config example
2020-10-09 15:42:48 +03:00
Xiang Dai
60613dc3eb
Introduce gci as new linter ( #1266 )
...
* 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
Melvin
ee86e0e893
gofumpt: Add extra-rules option + update linter ( #1228 )
...
Co-authored-by: Sergey Vilgelm <sergey.vilgelm@ibm.com>
2020-07-12 11:38:07 -05:00
Joe Wilner
6550984878
Configure path prefix via processor abstraction ( #1226 )
2020-07-11 09:14:52 +10: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