1172 Commits

Author SHA1 Message Date
dependabot[bot]
d7dd2332d2
build(deps): bump react from 16.13.1 to 16.14.0 in /docs ()
* build(deps): bump react from 16.13.1 to 16.14.0 in /docs

Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 16.13.1 to 16.14.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v16.14.0/packages/react)

Signed-off-by: dependabot[bot] <support@github.com>

* fix by using jsxRuntime classic

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sergey Vilgelm <sergey.vilgelm@ibm.com>
v1.34.1
2020-12-29 00:01:31 -06:00
Andrew Shannon Brown
750b4babc7
Fix forbidigo linter name in reports ()
Fix cut-and-paste error with linter name.

Fixes 
2020-12-28 10:55:38 -08:00
Denis Tingaikin
64d823cbda
Update assets for v1.34.0 ()
* generate stuff for v1.34.0

Signed-off-by: Denis Tingajkin <denis.tingajkin@xored.com>

* chore: update chnagelog.

Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2020-12-28 12:14:57 -06:00
Denis Tingaikin
260dc80742
Bump go-header to v0.4.2 ()
Signed-off-by: Denis Tingajkin <denis.tingajkin@xored.com>
v1.33.1 v1.34.0
2020-12-28 17:22:37 +07:00
Andrew Shannon Brown
306816ec85
Revert "Update nolintlint to fix nolint formatting and remove unused nolint statements ()" ()
This reverts commit aeb98303293570ba682ea933a4e9501a11a3aa99.

There are some cases that nolinter fixer wasn't handling properly or expectedly (, , ) so we'll fix those in a new attempt.
2020-12-27 11:49:58 -08:00
Denis Tingaikin
85049e5ea0
Bump go-header to v0.4.1 () 2020-12-27 20:32:33 +01:00
Andrew Shannon Brown
aeb9830329
Update nolintlint to fix nolint formatting and remove unused nolint statements ()
Also allow multiple ranges to satisfy a nolint statement as having been used.
2020-12-27 06:18:02 -08:00
Dudás Ádám
df9278efd2
resolve custom linters' path relative to config file directory ()
Resolves 
2020-12-27 02:02:25 +03:00
Andrew Shannon Brown
222076fdc6
Add forbidigo linter () 2020-12-24 17:19:32 +01:00
Ludovic Fernandez
be0297933a
fix: nolintlint comment analysis. () 2020-12-22 01:24:28 +01:00
Ryan Currah
a893212f02
gomodguard: updated for new features and fixes () 2020-12-20 11:27:55 +01:00
Sebastien Rosset
87cdb2ddf9
Add settings examples for gocritic () 2020-12-18 11:35:30 +01:00
dependabot[bot]
92d94ffeea
build(deps): bump ini from 1.3.5 to 1.3.8 in /tools ()
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-17 01:25:44 +01:00
Brian Flad
e26630a82c
deps: Bump github.com/tommy-muehle/go-mnd@v2.2.0 ()
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 () 2020-12-13 14:54:26 +01:00
iwankgb
d32798769c
Cobra.Command.SetOutput is depracated () 2020-12-13 00:01:31 +00:00
iwankgb
164cfab820
Removing reference to no-longer-existing linter-in-the-cloud () 2020-12-12 21:59:15 +00:00
Ludovic Fernandez
b79e0c5adf
fix: throw an error on panic. ()
* 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. () 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 ()
* 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 ()
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 () 2020-12-03 22:48:50 +01:00
Ludovic Fernandez
af0dd77ce4
fix: update github.com/tetafro/godot to v1.3.2 () 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 ()
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 ()
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 ()
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 ()
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 ()
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 ()
* 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 () 2020-11-27 04:49:07 +01:00
Kunwardeep
626bacf494
updated-repo-after-release () 2020-11-25 14:37:44 +03:00
Kunwardeep
b90551cdf9
add new paralleltest linter () v1.33.0 v1.33.2 2020-11-22 22:28:38 +03:00
iwankgb
c68692e99f
Missing sort-results in the docs () 2020-11-17 22:46:11 +01:00
iwankgb
993337baa2
Using upstrem goconst ()
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 ()
Co-authored-by: zhangyunhao <zhangyunhao@bytedance.com>
2020-11-12 15:21:19 +01:00
Denis Krivak
df2e9e2ebd
Update godot to 1.3.0 () 2020-11-10 20:11:26 +03:00
iwankgb
947dae101e
Unknown linter breaks //nolint ()
* 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 ()
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 ()
* 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 ()
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 ()
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 ()
This commit is to update metadata for golangci-lint-action after 1.32.2
release for couples of bug fixes.

NOTE: Once  is resolved, this step will be automated

Relates 

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 ()
This commit is to avoid tag overriding due to parallel build for
multiple base images (e.g. debian and alpine).

Closes  

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 ()
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 ()
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 ()
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 ()
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 ()
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 ()
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