1241 Commits

Author SHA1 Message Date
Ludovic Fernandez
92adaa4497
docs: improve linters page (#1842) 2021-03-14 14:15:52 +01:00
Andrew Shannon Brown
e1a734e559
nolintlint: allow to fix //nolint lines (#1583) 2021-03-13 05:11:05 +01:00
Oleg Butuzov
d28c66672e
docs: adding missing format options (#1840) 2021-03-13 04:46:03 +01:00
Ludovic Fernandez
9838a57941
dev: remove old TODO and remove assert import alias on require. (#1838) 2021-03-13 04:45:32 +01:00
Eugene Simonov
7a612da13c
bump ifshort to v1.0.2 (#1837) 2021-03-12 16:50:59 +01:00
Ludovic Fernandez
4bc68c0a15
Bump gofumpt from v0.1.0 to v0.1.1 (#1834) 2021-03-11 16:12:05 +01:00
Ludovic Fernandez
2ebc9d7202
dev: clean configuration and code (#1830) 2021-03-09 19:46:18 +01:00
dependabot[bot]
714bd288df
build(deps): bump github.com/securego/gosec/v2 from 2.6.1 to 2.7.0 (#1823) 2021-03-09 19:34:55 +01:00
Ludovic Fernandez
fce3949d5b
Deprecate 'scopelint' linter (#1819)
* Deprecate scopelint linter

* clean code base.
2021-03-09 10:19:22 -08:00
Ludovic Fernandez
8d0075da00
Bump staticcheck to 2020.2.3 (v0.1.3) (#1829) 2021-03-09 19:00:15 +01:00
Ludovic Fernandez
2e5e887406
Improve issue templates chooser. (#1821)
Add issue templates to improve triage and issue quality.

https://docs.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository
2021-03-09 18:59:31 +01:00
Ludovic Fernandez
94d2d803d2
Add gomoddirectives linter. (#1817) 2021-03-09 18:59:06 +01:00
dependabot[bot]
c11228b44f
build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.1 to 3.21.2 (#1822) 2021-03-09 18:54:25 +01:00
Daniele
19b7d05737
docs: Update .golangci.example.yml (#1816)
Minor typo fixed.
2021-03-09 18:40:23 +01:00
Kensei Nakada
351f57b174
bump wastedassign to v0.2.0 (#1815) 2021-03-09 18:38:47 +01:00
Ludovic Fernandez
921a1484fb
docs: Update for v1.38.0 (#1827) 2021-03-09 17:15:09 +01:00
Neha Viswanathan
507703b444
Update Docs and Assets Github Actions (#1460)
Some checks failed
Extra / Vulnerability scanner (push) Failing after 1m15s
CI / go-mod (push) Failing after 11m44s
CI / golangci-lint (push) Failing after 11m14s
Release a tag / release (push) Failing after 10m58s
CI / tests-on-windows (push) Has been cancelled
CI / tests-on-macos (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 / 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
v1.38.0
2021-03-03 14:49:08 +01:00
dependabot[bot]
d4ee8189ab
build(deps): bump gatsby-source-filesystem in /docs (#1806)
Bumps [gatsby-source-filesystem](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-source-filesystem) from 2.11.0 to 2.11.1.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/gatsby-source-filesystem@2.11.1/packages/gatsby-source-filesystem/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-filesystem@2.11.1/packages/gatsby-source-filesystem)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 10:05:30 -06:00
dependabot[bot]
c77b82f44e
build(deps): bump gatsby-plugin-manifest from 2.12.0 to 2.12.1 in /docs (#1807)
Bumps [gatsby-plugin-manifest](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-manifest) from 2.12.0 to 2.12.1.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/gatsby-plugin-manifest@2.12.1/packages/gatsby-plugin-manifest/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-manifest@2.12.1/packages/gatsby-plugin-manifest)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 10:05:11 -06:00
dependabot[bot]
7516c37c44
build(deps): bump gatsby-plugin-offline from 3.10.0 to 3.10.2 in /docs (#1801)
Bumps [gatsby-plugin-offline](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-offline) from 3.10.0 to 3.10.2.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/gatsby-plugin-offline@3.10.2/packages/gatsby-plugin-offline/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-offline@3.10.2/packages/gatsby-plugin-offline)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 09:47:06 -06:00
dependabot[bot]
01a6238afb
build(deps): bump gatsby-transformer-remark in /docs (#1805)
Bumps [gatsby-transformer-remark](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-transformer-remark) from 2.16.0 to 2.16.1.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/gatsby-transformer-remark@2.16.1/packages/gatsby-transformer-remark/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-remark@2.16.1/packages/gatsby-transformer-remark)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 09:42:53 -06:00
dependabot[bot]
38ad382d36
build(deps): bump gatsby from 2.32.3 to 2.32.8 in /docs (#1804)
Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 2.32.3 to 2.32.8.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/compare/gatsby@2.32.3...gatsby@2.32.8)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 09:42:05 -06:00
dependabot[bot]
59259641e8
build(deps): bump prism-react-renderer from 1.1.1 to 1.2.0 in /docs (#1802)
Bumps [prism-react-renderer](https://github.com/FormidableLabs/prism-react-renderer) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/FormidableLabs/prism-react-renderer/releases)
- [Commits](https://github.com/FormidableLabs/prism-react-renderer/compare/v1.1.1...v1.2.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 08:54:22 -06:00
dependabot[bot]
2c5a4218e5
build(deps): bump gatsby-plugin-mdx from 1.10.0 to 1.10.1 in /docs (#1800)
Bumps [gatsby-plugin-mdx](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-mdx) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/gatsby-plugin-mdx@1.10.1/packages/gatsby-plugin-mdx/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-mdx@1.10.1/packages/gatsby-plugin-mdx)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 08:53:14 -06:00
Sergey Vilgelm
1a906bc196
Use go v1.14 in go.mod file (#1803)
Change the go version in `go.mod` from `v1.13` to `v1.14`, since the tests for go `v1.13` were dropped in CI
2021-03-01 16:52:11 +02:00
dependabot[bot]
d22c64e0fb
build(deps): bump puppeteer from 7.0.1 to 8.0.0 in /docs (#1796)
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 7.0.1 to 8.0.0.
- [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/v7.0.1...v8.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 08:39:42 -06:00
dependabot[bot]
4085aae6b7
build(deps): bump gatsby-remark-images from 3.11.0 to 3.11.1 in /docs (#1799) 2021-03-01 11:03:32 +01:00
dependabot[bot]
5d385c2d46
build(deps): bump polished from 4.1.0 to 4.1.1 in /docs (#1797) 2021-03-01 10:10:31 +01:00
dependabot[bot]
067cfac3e8
build(deps): bump golangci/golangci-lint-action from v2.4.0 to v2.5.1 (#1798) 2021-03-01 10:09:40 +01:00
dependabot[bot]
ef50e0853e
build(deps): bump gatsby-plugin-sharp from 2.14.1 to 2.14.3 in /docs (#1795) 2021-03-01 10:08:53 +01:00
Ludovic Fernandez
5ca29739e8
fix: use same default linter as go vet. (#1793) 2021-02-28 10:19:29 -06:00
Kamil Samigullin
c2b813325f
docs: update url of gocyclo linter (#1794) 2021-02-28 12:31:14 +01:00
Sergey Vilgelm
5dcc3eafd1
Update dependencies that dependabot cannot (#1790)
* Use a tagged version of `prealloc` instead of commit ID. Version is same.
* Use a tagged version of `misspell` instead of commit ID. Version is same.
* Update `go-printf-func-name` to `v0.0.0-20200119135958-7558a9eaa5af`. Added license.
* Update `godox` to `v0.0.0-20210227103229-6504466cf951`. Changed error message by trimming a comment to 40 symbols only.
* Update `asciicheck` to `v0.0.0-20200416200610-e657995f937b`. Updated documentation.
* Update `wrapcheck` to `v0.0.0-20201130113247-1683564d9756`. Updated readme.
* Update `unparam` to `v0.0.0-20210104141923-aac4ce9116a7`. Updated dependencies.
2021-02-28 00:31:41 +01:00
Sergey Vilgelm
cdaf03d159
Remove outdated CVEs from .nancy-ignore (#1791) 2021-02-28 08:06:52 +11:00
Ludovic Fernandez
5698d46e1f
Add ForceTypeAssert linter (#1789) 2021-02-26 22:34:12 +01:00
Ludovic Fernandez
66fc779795
Add nilerr linter. (#1788) 2021-02-26 22:12:32 +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
Sergey Vilgelm
34e46c7453
Using a version instead of commit id for goconst (#1786) 2021-02-26 12:56:40 -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
c3c7bcd7ac
docs: improve the bug issue template. (#1781) 2021-02-26 01:49:06 +01:00
Sergey Vilgelm
eefb97438c
ineffassign: use upstrea instead of golangci fork (#1780) 2021-02-26 00:36:43 +01:00
Sergey Vilgelm
b77118fdac
Use errcheck from main repo instead of golangci-lint fork (#1319)
Co-authored-by: Roman Leventov <leventov@ya.ru>
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2021-02-25 13:16:48 +01:00
Sebastien Rosset
ce3ff22a81
docs: improve gocritic description (#1766) 2021-02-25 00:16:16 +01:00
Abhishek Kumar Singh
25332f5f00
docs: Updated deprecated hyperlink for Sublime Text plugin. (#1775) 2021-02-24 14:16:09 +01:00
Ludovic Fernandez
856ffd16ec
Support RelatedInformation for analysis Diagnostic (#1773) 2021-02-24 09:08:17 +01:00
Ludovic Fernandez
b407bb8fd0
revive: add rule name in message. (#1772) 2021-02-24 09:07:54 +01:00
Ludovic Fernandez
42ff682f7f
Deprecate maligned, add govet fieldalignment as replacement (#1765) 2021-02-22 17:46:27 +01:00
dependabot[bot]
326d715ba4
build(deps): bump github.com/sirupsen/logrus from 1.7.0 to 1.8.0 (#1763) 2021-02-22 10:38:25 +01:00
dependabot[bot]
dac2059e5f
build(deps): bump github.com/kulti/thelper from 0.3.1 to 0.4.0 (#1764) 2021-02-22 10:32:04 +01:00
dependabot[bot]
d6db13d763
build(deps): bump sonatype-nexus-community/nancy-github-action (#1762)
Bumps [sonatype-nexus-community/nancy-github-action](https://github.com/sonatype-nexus-community/nancy-github-action) from 1.0.1 to v1.0.2.
- [Release notes](https://github.com/sonatype-nexus-community/nancy-github-action/releases)
- [Commits](https://github.com/sonatype-nexus-community/nancy-github-action/compare/1.0.1...aae196481b961d446f4bff9012e4e3b63d7921a4)

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>
2021-02-22 14:59:06 +08:00