diff --git a/CHANGELOG.md b/CHANGELOG.md index 48aa42597235..6f14debce96f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,24 +1,55 @@ Follow the news and releases on our [twitter](https://twitter.com/golangci) and our [blog](https://medium.com/golangci). There is the most valuable changes log: +### June 2021 + +1. update linters: + * `revive`: allow to disable rule + * `durationcheck`: from 0.0.7 to 0.0.8 + * `goconst`: from 0.5.6 to 0.5.7 +2. documentation: + * add all integrations to docs introduction page +3. Misc: + * 🎉 Un-deprecate enable-all option + * output: generate HTML report + ### May 2021 1. new linters: * `tagliatelle`: https://github.com/ldez/tagliatelle * `promlinter`: https://github.com/yeya24/promlinter 2. update linters: - * `staticcheck`: from 0.1.3 to 0.1.4 - * `wastedassign`: from 0.2.0 to 1.0.0 - * `go-critic`: from 0.5.5 to 0.5.6 - * `wrapcheck`: from 1.2.0 to 2.1.0 - * `importas`: bump to HEAD + * `durationcheck`: from 0.0.6 to 0.0.7 * `errorlint`: bump to HEAD + * `forbidigo`: from 1.1.0 to 1.2.0 + * `go-critic`: from 0.5.5 to 0.5.6 + * `godot`: from 1.4.6 to 1.4.7 + * ⚠ `golint`: deprecated + * `gomnd`: from 2.3.2 to 2.4.0 + * `gomodguard`: fix problem where duplicate issues were reported + * `gosec`: from 2.7.0 to 2.8.0 + * `govet`: fix `sigchanyzer` + * `govet`: Update vet passes * `importas`: allow repeated aliases + * `importas`: bump to HEAD + * `makezero`: bump to HEAD + * `nolintlint`: fix false positive * `revive`: convert hard coded excludes into default exclude patterns - * `govet`: Update vet passes - * `govet`: fix `sigchanyzer` - * ⚠ `golint`: deprecated + * `revive`: fix add-constant rule support + * `revive`: fix excludes + * `revive`: from 1.0.6 to 1.0.7 + * `revive`: improve 'exported' rule output + * `rowserrcheck`: bump to v1.1.0 + * `staticcheck`: configuration for `staticcheck`, `gosimple`, `stylecheck` + * `staticcheck`: from 0.1.3 to 0.1.4 + * `staticcheck`: from v0.1.4 to v0.2.0 + * `wastedassign`: from 0.2.0 to 1.0.0 + * `wastedassign`: from 1.0.0 to v2.0.6 + * `wrapcheck`: from 1.2.0 to 2.1.0 3. documentation: + * improve linters page + * `exhaustivestruct` example explanation + * fix pattern of `forbidigo` in example config yaml * bump documentation dependencies * fix typos 4. Misc: diff --git a/README.md b/README.md index cec8764e485c..9f1a949a94d4 100644 --- a/README.md +++ b/README.md @@ -68,40 +68,40 @@ The Core Team has the following responsibilities:
Tam Mach

Trevor Pounds

Simon Sawert
-
@iwankgb

Long Dai
+
@iwankgb

Sascha Grunert

Andrew Shannon Brown
-
Denis Tingaikin
-
Pierre Durand

Ryan Currah
+
Denis Tingaikin

Denis Krivak

Oleg Butuzov
+
Pierre Durand

Duco van Amstel

David Lobe

Will Dixon
-
Nishanth Shanmugham

Melvin
+
Nishanth Shanmugham

Alexey Palazhchenko
-
Matouš Dzivjak
+
Matouš Dzivjak
+
Kensei Nakada

Alec Thomas

Sebastien Rosset

Michael Mulligan

Joe Wilner

Soichiro Kashima

Nuruddin Ashr
-
Mateusz Gozdek
+
Mateusz Gozdek

Tim Heckman

Colin Arnott
-
Kensei Nakada

James

Dan Kortschak

Ryan Boehning
@@ -110,281 +110,290 @@ The Core Team has the following responsibilities:
-And 211 more our team members +And 218 more our team members - - + + + - + - + - - + + - + - - + + + - - + + - + - - + + - - + + - - + + - - + + + + + - - - - - + + - - + + + - - - + + - - + - + + - - + + - - + + - - + + + + + - - + + - - + + + + - - + + - - + + - - - + + - - + + - - + + - - + + + + + - + - - + + - + - +

Kamil Samigullin

Aliaksandr Mianzhynski

Romanos

Aneesh Agrawal

Mitsuo Heijo

Iskander (Alex) Sharipov

Romanos

Aneesh Agrawal

Vladimir Evgrafov

sonatard

sonatard

ZhangYunHao

gaojingyu

@odidev

NiseVoid

Sean DuBois

Viktoras

Agniva De Sarker

Agniva De Sarker

Henrik Johansson

Eugene Simonov

SystemGlitch

John Starich

Koichi Shiraishi

Bart

Patrick Kuca

Bart

Patrick Kuca

Viacheslav Poturaev

Tom Arrell

David Braley

Chris Bandy

Chris Bandy

Lukas Malkmus

Aleksey Bakin

Zeal Wierslee

sivchari

Aleksey Bakin

Zeal Wierslee

Kunwardeep

Pierre R

Stephan Renatus

Diego Pontoriero

Daniel Helfand

Zik

Alex Collins

Zik

Alex Collins

Ryo Nakao

Peter Mescalchin

Tommy Mühle

Kyoichiro Yamada

@kyoh86

Sebastiaan van Stijn

@Dominik-K

ferhat elmas

@Dominik-K

ferhat elmas

M. Ángel Jimeno

Chris Drew

Marat Reymers

Teiva Harsanyi

Craig Silverstein

Mitsuo Heijo

Ariel Mashraki

Ariel Mashraki

Denis Isaev

Tom Payne

francisco souza

Ryan Olds

Neha Viswanathan

Hiroki Suezawa

Fabrice

Christoph Blecker

Fabrice

Christoph Blecker

Mateusz Bilski

Ben Ye

Stephanie Wilde-Hobbs

Cory LaNou

Vitaly Isaev

Shulhan

Renato Suero

Shulhan

Renato Suero

Ben Wells

Brian Flad

Sean McGinnis

Jakub Chábek

@golangci-releaser

tdakkota

Eric Wohltman

Borja Clemente

masibw

Gianguido Sora'

Sonia Hamilton

Berezhnoy Pavel

Henry

Neha Viswanathan

Sindre Røkenes Myren

Henry

Sindre Røkenes Myren

Aofei Sheng

Bartłomiej Klimczak

Maksym Pavlenko

Jonathan Chappelow

Ivan

James Lucktaylor

Dale Hui

James Lucktaylor

Dale Hui

Ondrej Fabry

Kishan B

proton

Markus

Sebastian Spaink

Andrew Lavery

Kishan B

Robert Liebowitz

Sebastian Spaink

Andrew Lavery

Tariq Ibrahim

Peter Štibraný

kaixiang zhong

@ced42

David Bariod

Derek Perkins

@golangci-releaser

Derek Perkins

Eldar Rakhimberdin

Toon Schoenmakers

Cezar Sá Espinola

Ben Paxton

Andrey Kuchin

Connor Adams

Draven

Draven

Martins Irbe

Rodrigo Brito

takaya

Mark Sart

Joshua Rubin

Linus Arver

Glen Mailer

Ian Howell

Glen Mailer

Ian Howell

Chris K

Marko

Chris Lewis

David Gleich

Muhammad Ikhsan

Denis Titusov

Terdunov Vyacheslav

Denis Titusov

Terdunov Vyacheslav

Sean Chittenden

Hui Zhu

@Harsimran1

rinsuki

Anton Antonov

☃ Elliot Shepherd

@nvartolomei

Gustavo Bazan

☃ Elliot Shepherd

@nvartolomei

Martin Etmajer

@techknowlogick

Fisher Xu

Matthew Poer

Cody Ley-Han

Marc Tudurí

Patrick Zhang

darklore

@to6ka

@evalexpr

Collin Kreklow

Grigory Zubankov

Marcin Owsiany

@xxpxxxxp

C.J. Jameson

Jack

@ofw

Boban Acimovic

David Hill

Troy Ronda

Osamu TONOMORI

Bo Liu

Steven Allen

Colin Arnott

Eran Levy

Roman Leventov

Eric Jain

Michael

Evgeniy Kulikov

Chris Nesbitt-Smith

Daniel Caballero

Carlton Henderson

Shintaro Ikeda

Matt Braymer-Hayes

Gustavo Bazan

@xuri

Charl Matthee

Sriram Venkatesh

Peter Schuller

David Golub

Alexander Morozov

Hernan Bandura

Liam White

Alex Dupre

Juanito

Jinming Yue

Igor Zibarev

@wxdao

Kévin Dunglas

Sijie Yang

Stephen

Thang Minh Vu

Julia Ogris

Greg Curtis

@ac-rappi

Dudás Ádám

Abhishek | अभिषेक

Daniele

Takumasa Sakao

Ben Drucker

Stephen Brown II

Matthew Cobbing

paul fisher

Irina

Petr Pučil

Dima

Alessio Treglia

Alay Patel

Alay Patel

Martin Hutchinson

Emanuel Bennici

Mayo

Christian Clauss

Korjavin Ivan

Francois Parquet

Robert Kopaczewski

Robert Kopaczewski

@opennota

@opennota

Cyrille Meichel

neglect-yp

@jumpeiMano

Wei Jian Gan

Tamás Gulácsi

Jack Wilsdon

Jack Wilsdon

Michał Suchwałko

Alexander Apalikov

Domas Tamašauskas

Stéphane Chausson

neo_sli

@srdhoni

Thomas Bonfort

Thomas Bonfort

Matthieu MOREL
diff --git a/assets/github-action-config.json b/assets/github-action-config.json index f0ee31857fb2..03958b28f286 100644 --- a/assets/github-action-config.json +++ b/assets/github-action-config.json @@ -1,8 +1,8 @@ { "MinorVersionToConfig": { "latest": { - "TargetVersion": "v1.40.1", - "AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.40.1/golangci-lint-1.40.1-linux-amd64.tar.gz" + "TargetVersion": "v1.41.0", + "AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.41.0/golangci-lint-1.41.0-linux-amd64.tar.gz" }, "v1.10": { "Error": "golangci-lint version 'v1.10' isn't supported: we support only v1.14.0 and later versions" @@ -130,6 +130,10 @@ "TargetVersion": "v1.40.1", "AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.40.1/golangci-lint-1.40.1-linux-amd64.tar.gz" }, + "v1.41": { + "TargetVersion": "v1.41.0", + "AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.41.0/golangci-lint-1.41.0-linux-amd64.tar.gz" + }, "v1.5": { "Error": "golangci-lint version 'v1.5' isn't supported: we support only v1.14.0 and later versions" }, diff --git a/docs/template_data.state b/docs/template_data.state index 34f48f74a698..e99cf4a0ded6 100755 --- a/docs/template_data.state +++ b/docs/template_data.state @@ -1,2 +1,2 @@ This file stores hash of website templates to trigger Netlify rebuild when something changes, e.g. new linter is added. -6c73ec127f7f63cb998b41b51d9408a98cbf892272826f25727d3c2735ed449b \ No newline at end of file +829e78b0f492ca36d8be29f3eb59bf91c6210ad62829e46d20bcf49052dc10d6 \ No newline at end of file diff --git a/go.sum b/go.sum index 02d7e836183b..8eeee1ea27d3 100644 --- a/go.sum +++ b/go.sum @@ -87,8 +87,6 @@ github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/charithe/durationcheck v0.0.7 h1:cv5xuz97Hq1loSIirX7bJyUF9mFAH+n1VJetfeU2N/Q= -github.com/charithe/durationcheck v0.0.7/go.mod h1:SSbRIBVfMjCi/kEB6K65XEA83D6prSM8ap1UCpNKtgg= github.com/charithe/durationcheck v0.0.8 h1:cnZrThioNW9gSV5JsRIXmkyHUbcDH7Y9hkzFDVc9/j0= github.com/charithe/durationcheck v0.0.8/go.mod h1:SSbRIBVfMjCi/kEB6K65XEA83D6prSM8ap1UCpNKtgg= github.com/chavacava/garif v0.0.0-20210405164556-e8a0a408d6af h1:spmv8nSH9h5oCQf40jt/ufBCt9j0/58u4G+rkeMqXGI= @@ -930,7 +928,6 @@ golang.org/x/tools v0.0.0-20201230224404-63754364767c/go.mod h1:emZCQorbCU4vsT4f golang.org/x/tools v0.0.0-20210101214203-2dba1e4ea05c/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210104081019-d8d6ddbec6ee/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= -golang.org/x/tools v0.1.2 h1:kRBLX7v7Af8W7Gdbbc908OJcdgtK8bOz9Uaj8/F1ACA= golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.3 h1:L69ShwSZEyCsLKoAxDKeMvLDZkumEe8gXUZAjab0tX8= golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=