Aleksey Bakin
0370d3adea
Add thelper linter ( #1541 )
2020-12-13 14:54:26 +01:00
iwankgb
d32798769c
Cobra.Command.SetOutput is depracated ( #1554 )
2020-12-13 00:01:31 +00:00
iwankgb
164cfab820
Removing reference to no-longer-existing linter-in-the-cloud ( #1553 )
2020-12-12 21:59:15 +00:00
Ludovic Fernandez
b79e0c5adf
fix: throw an error on panic. ( #1540 )
...
* fix: throw an error on panic.
* current min go version is go1.13
2020-12-12 20:31:17 +00:00
Ludovic Fernandez
10c786e52a
chore: update gofumpt. ( #1548 )
2020-12-11 22:17:36 +01:00
Dan Kortschak
33fe87b2a5
result/processors: treat all non-Go source as special autogenerated files
...
Prior to this change golangci-lint would attempt to follow //line
directives into generation description files unless they were in a small
set of fake files used by goyacc. Now we consider all non-Go source as
special.
2020-12-11 17:07:28 +10:30
dependabot[bot]
21be7d2dcf
build(deps): bump github.com/daixiang0/gci from 0.2.4 to 0.2.7 ( #1521 )
...
* build(deps): bump github.com/daixiang0/gci from 0.2.4 to 0.2.5
Bumps [github.com/daixiang0/gci](https://github.com/daixiang0/gci ) from 0.2.4 to 0.2.5.
- [Release notes](https://github.com/daixiang0/gci/releases )
- [Commits](https://github.com/daixiang0/gci/compare/v0.2.4...v0.2.5 )
Signed-off-by: dependabot[bot] <support@github.com>
* chore: update to v0.2.6
* chore: update to v0.2.7
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fernandez Ludovic <lfernandez.dev@gmail.com>
2020-12-10 14:18:57 +08: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
Pierre R
f7a0c3c2e6
Bump go-errorlint to latest ( #1529 )
2020-12-03 22:48:50 +01:00
Ludovic Fernandez
af0dd77ce4
fix: update github.com/tetafro/godot to v1.3.2 ( #1536 )
2020-12-03 18:42:42 +03:00
dependabot[bot]
5faa0cff9b
build(deps): bump gatsby-remark-images from 3.3.29 to 3.6.0 in /docs ( #1531 )
...
Bumps [gatsby-remark-images](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-remark-images ) from 3.3.29 to 3.6.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases )
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-remark-images/CHANGELOG.md )
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-images@3.6.0/packages/gatsby-remark-images )
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
Co-authored-by: Xiang Dai <long0dai@foxmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-01 14:22:04 +08:00
dependabot[bot]
304d4a7f19
build(deps): bump react-headroom from 3.0.0 to 3.0.1 in /docs ( #1532 )
...
Bumps [react-headroom](https://github.com/KyleAMathews/react-headroom ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/KyleAMathews/react-headroom/releases )
- [Commits](https://github.com/KyleAMathews/react-headroom/compare/v3.0.0...v3.0.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
Co-authored-by: Xiang Dai <long0dai@foxmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-01 14:21:42 +08:00
dependabot[bot]
6a9975f3ef
build(deps): bump gatsby-remark-responsive-iframe in /docs ( #1533 )
...
Bumps [gatsby-remark-responsive-iframe](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-remark-responsive-iframe ) from 2.4.12 to 2.6.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases )
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-remark-responsive-iframe/CHANGELOG.md )
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-responsive-iframe@2.6.0/packages/gatsby-remark-responsive-iframe )
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
Co-authored-by: Xiang Dai <long0dai@foxmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-01 14:21:24 +08:00
dependabot[bot]
15b5289755
build(deps): bump react-live from 2.2.2 to 2.2.3 in /docs ( #1534 )
...
Bumps [react-live](https://github.com/philpl/react-live ) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/philpl/react-live/releases )
- [Commits](https://github.com/philpl/react-live/compare/v2.2.2...v2.2.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
Co-authored-by: Xiang Dai <long0dai@foxmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-01 14:20:57 +08:00
dependabot[bot]
f8418b1b49
build(deps): bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0 ( #1528 )
...
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml ) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/go-yaml/yaml/releases )
- [Commits](https://github.com/go-yaml/yaml/compare/v2.3.0...v2.4.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
Co-authored-by: Xiang Dai <long0dai@foxmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-30 14:11:42 +08:00
Henry
91e733194f
CVE-2020-14040: v0.3.3 golang.org/x/text ( #1293 )
...
* CVE-2020-14040: v0.3.3 golang.org/x/text
* go mod tidy
* Update go.mod
* * Go get golang.org/x/text
* Delete go.sum
* go mod tidy
* Remove replace statement
* Missed new line at end of go mod
2020-11-28 14:01:44 +03:00
Pierre R
fc1a8263b9
Bump go-errorlint to latest ( #1527 )
2020-11-27 04:49:07 +01:00
Kunwardeep
626bacf494
updated-repo-after-release ( #1526 )
2020-11-25 14:37:44 +03:00
Kunwardeep
b90551cdf9
add new paralleltest linter ( #1503 )
Extra / Vulnerability scanner (push) Failing after 15m24s
CI / go-mod (push) Failing after 15m22s
CI / golangci-lint (push) Failing after 15m20s
Release a tag / release (push) Failing after 15m18s
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
v1.33.0
v1.33.2
2020-11-22 22:28:38 +03:00
iwankgb
c68692e99f
Missing sort-results in the docs ( #1514 )
2020-11-17 22:46:11 +01:00
iwankgb
993337baa2
Using upstrem goconst ( #1500 )
...
github.com/golangci/goconst is now obsolete :)
2020-11-17 19:07:37 +00: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
Denis Krivak
df2e9e2ebd
Update godot to 1.3.0 ( #1498 )
2020-11-10 20:11:26 +03:00
iwankgb
947dae101e
Unknown linter breaks //nolint ( #1497 )
...
* Unknown linter breaks //nolint
* Testing if nolint directive for unknown linter silences violation on the same line
2020-11-09 08:33:24 +00:00
dependabot[bot]
b1755c16ea
build(deps): bump github.com/kyoh86/exportloopref from 0.1.7 to 0.1.8 ( #1501 )
...
Bumps [github.com/kyoh86/exportloopref](https://github.com/kyoh86/exportloopref ) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/kyoh86/exportloopref/releases )
- [Changelog](https://github.com/kyoh86/exportloopref/blob/master/.goreleaser.yml )
- [Commits](https://github.com/kyoh86/exportloopref/compare/v0.1.7...v0.1.8 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-09 16:53:40 +11:00
rinsuki
3b062699f3
docs: Add description of Homebrew's official formula ( #1421 )
...
* docs: Add description of Homebrew's official formula
* Update index.mdx
2020-11-08 00:37:27 +01:00
dependabot[bot]
3fe444cba9
build(deps): bump lodash from 4.17.15 to 4.17.19 in /.github/peril ( #1252 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-06 09:01:12 +11:00
Xiang Dai
1ca232a4e1
Fix typos ( #1476 )
...
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
2020-11-06 00:46:41 +03:00
Tam Mach
e8043b67b2
feat(release): Update metadata for golangci-lint-action ( #1491 )
...
This commit is to update metadata for golangci-lint-action after 1.32.2
release for couples of bug fixes.
NOTE: Once #1208 is resolved, this step will be automated
Relates #1208
Signed-off-by: Tam Mach <sayboras@yahoo.com>
2020-11-03 18:24:04 +11:00
Tam Mach
52d26a3b72
fix(docker): Fix docker tag for alpine build ( #1487 )
...
Extra / Vulnerability scanner (push) Failing after 15m32s
CI / go-mod (push) Failing after 15m30s
CI / golangci-lint (push) Failing after 15m28s
Release a tag / release (push) Failing after 15m26s
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
This commit is to avoid tag overriding due to parallel build for
multiple base images (e.g. debian and alpine).
Closes #1483 #1486
Signed-off-by: Tam Mach <sayboras@yahoo.com>
v1.32.2
2020-11-03 12:06:19 +11:00
dependabot[bot]
0b245262a0
build(deps): bump github.com/securego/gosec/v2 from 2.4.0 to 2.5.0 ( #1484 )
...
Bumps [github.com/securego/gosec/v2](https://github.com/securego/gosec ) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/securego/gosec/releases )
- [Changelog](https://github.com/securego/gosec/blob/master/.goreleaser.yml )
- [Commits](https://github.com/securego/gosec/compare/v2.4.0...v2.5.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 17:27:56 +11:00
dependabot[bot]
97cb05c492
build(deps): bump github.com/fatih/color from 1.9.0 to 1.10.0 ( #1485 )
...
Bumps [github.com/fatih/color](https://github.com/fatih/color ) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/fatih/color/releases )
- [Commits](https://github.com/fatih/color/compare/v1.9.0...v1.10.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 17:27:34 +11:00
Mateusz Gozdek
9ff0f31ed7
pkg/lint/lintersdb: report all unknown linters at once ( #1477 )
...
Otherwise, if one configures multiple invalid linters, or jumps between
the versions, it is annoying to get same error with different value N
times.
Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
2020-11-01 20:31:15 +00:00
dependabot[bot]
7a1ae965d1
build(deps): bump polished from 3.6.6 to 4.0.3 in /docs ( #1482 )
...
Bumps [polished](https://github.com/styled-components/polished ) from 3.6.6 to 4.0.3.
- [Release notes](https://github.com/styled-components/polished/releases )
- [Commits](https://github.com/styled-components/polished/compare/v3.6.6...v4.0.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-01 22:01:48 +11:00
dependabot[bot]
c1fe84cc0d
build(deps): bump gatsby-alias-imports from 1.0.4 to 1.0.6 in /docs ( #1479 )
...
Bumps [gatsby-alias-imports](https://github.com/luanbitar/gatsby-alias-imports ) from 1.0.4 to 1.0.6.
- [Release notes](https://github.com/luanbitar/gatsby-alias-imports/releases )
- [Commits](https://github.com/luanbitar/gatsby-alias-imports/commits/1.0.6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-01 22:01:40 +11:00
dependabot[bot]
3277bdb8b9
build(deps): bump puppeteer from 5.3.1 to 5.4.1 in /docs ( #1480 )
...
Bumps [puppeteer](https://github.com/puppeteer/puppeteer ) from 5.3.1 to 5.4.1.
- [Release notes](https://github.com/puppeteer/puppeteer/releases )
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md )
- [Commits](https://github.com/puppeteer/puppeteer/compare/v5.3.1...v5.4.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-01 22:00:52 +11:00
dependabot[bot]
00e3e730e5
build(deps): bump gatsby-remark-embedder from 3.0.0 to 4.0.0 in /docs ( #1478 )
...
Bumps [gatsby-remark-embedder](https://github.com/MichaelDeBoey/gatsby-remark-embedder ) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/MichaelDeBoey/gatsby-remark-embedder/releases )
- [Changelog](https://github.com/MichaelDeBoey/gatsby-remark-embedder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/MichaelDeBoey/gatsby-remark-embedder/compare/v3.0.0...v4.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-01 22:00:40 +11:00
Tam Mach
6338971232
feat(release): Update metadata for golangci-lint-action ( #1475 )
...
This commit is to update metadata for golangci-lint-action after 1.32.1
release for couples of bug fixes.
NOTE: Once #1208 is resolved, this step will be automated
Relates #1208
Signed-off-by: Tam Mach <sayboras@yahoo.com>
2020-11-01 21:11:11 +11:00
Tam Mach
dc2d6b5119
build(docker): Fix version details in docker image ( #1471 )
...
Extra / Vulnerability scanner (push) Failing after 41s
CI / go-mod (push) Failing after 17m9s
CI / golangci-lint (push) Failing after 15m36s
Release a tag / release (push) Failing after 15m34s
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
* build(docker): Fix version details in docker image
As part of #1383 , multi-arch docker build was supported. However,
ldflags for version details was missing.
This commit is to add -ldflags as part of Docker build. I take this chance
to refactor github action as well.
Fixes #1468
Signed-off-by: Tam Mach <sayboras@yahoo.com>
v1.32.1
2020-10-28 09:03:51 +11:00
Mateusz Bilski
55e35d27e3
Update exhaustivestruct ( #1472 )
...
* Update exhaustivestruct
* Add tests
2020-10-27 00:54:55 +01:00
dependabot[bot]
f414375eb3
build(deps): bump golangci/golangci-lint-action from v2.2.1 to v2.3.0 ( #1469 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from v2.2.1 to v2.3.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2.2.1...e868220d9fd3b523f1a8fcfb69749e8c7521ba14 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-26 16:53:22 +11:00
Tam Mach
8071657698
feat(release): Update metadata for golangci-lint-action ( #1467 )
...
This commit is to update metadata for golangci-lint-action after 1.32.0
release.
NOTE: Once #1208 is resolved, this step will be automated
Relates #1208
Signed-off-by: Tam Mach <sayboras@yahoo.com>
2020-10-26 08:35:31 +11:00
Tam Mach
9d557ed40e
chore(dep): Use tag version for cobra ( #1458 )
...
Extra / Vulnerability scanner (push) Failing after 2m37s
CI / go-mod (push) Failing after 18m50s
CI / golangci-lint (push) Failing after 18m22s
Release a tag / release (push) Failing after 18m18s
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
This commit is to use tag version for cobra (e.g. 1.1.1). The main
benefit is that this can be managed and upgraded by dependabot later.
This is follow-up item from PR #1201 .
Signed-off-by: Tam Mach <sayboras@yahoo.com>
v1.32.0
2020-10-19 17:01:48 +11:00
dependabot[bot]
254f0d4d4d
build(deps): bump honnef.co/go/tools ( #1459 )
...
Bumps [honnef.co/go/tools](https://github.com/dominikh/go-tools ) from 0.0.1-2020.1.5 to 0.0.1-2020.1.6.
- [Release notes](https://github.com/dominikh/go-tools/releases )
- [Commits](https://github.com/dominikh/go-tools/compare/v0.0.1-2020.1.5...v0.0.1-2020.1.6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 16:57:04 +11:00
ac-rappi
9b3ba431f1
Added support for only specifying default severity ( #1396 )
2020-10-19 15:21:46 +11:00
Tam Mach
e4346a8bd6
build(release): Prepare for release 1.32.0 ( #1457 )
...
This commit is to prepare for Oct 2020 release. No code changes were
done, only run some predefined targest:
- make update_contributors_list
- make update_netlify_state
Relates #1456
Signed-off-by: Tam Mach <sayboras@yahoo.com>
2020-10-18 22:01:17 +11:00
Renato Suero
89e94823d6
Added func to sort linters ( #1451 )
2020-10-18 17:14:31 +11:00
Peter Mescalchin
d20b8f931f
Added .golangci.yaml
to list of configuration files searched on startup ( #1364 )
2020-10-18 17:08:03 +11:00
odidev
3368a55627
Releasing docker image for arm64 ( #1383 )
2020-10-18 17:00:58 +11:00
David Bariod
3e6b01e716
Mention macports installation procedure on macOS ( #1352 )
...
* Mention macports installation procedure on macOS
2020-10-18 16:59:17 +11:00