's Avatar

@golangci-lint.run.bsky.social

The fastest linters runner for Go. Post by @ldezoss.bsky.social https://golangci-lint.run/ #golang

220 Followers  |  46 Following  |  40 Posts  |  Joined: 21.05.2024  |  1.9565

Latest posts by golangci-lint.run on Bluesky

Financial report, July 2025

Financial report, July 2025

Golangci-lint financial report, July 2025.

github.com/golangci/gol...

#golang #golangcilint

04.08.2025 15:51 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Financial report, June 2025

Financial report, June 2025

Golangci-lint financial report, June 2025.

github.com/golangci/gol...

#golang #golangcilint

04.07.2025 13:04 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Go 1.25RC1

Go 1.25RC1

๐ŸŽ‰ Go 1.25 Release Candidate 1 is released!

๐Ÿƒโ€โ™€๏ธ Run it in dev! Run it in prod! File bugs! go.dev/issue/new

๐Ÿ“ข Announcement: groups.google.com/g/golang-ann...

๐Ÿ“ฆ Download: go.dev/dl/#go1.25rc1

11.06.2025 19:13 โ€” ๐Ÿ‘ 90    ๐Ÿ” 28    ๐Ÿ’ฌ 3    ๐Ÿ“Œ 6
Financial report, May 2025

Financial report, May 2025

Golangci-lint financial report, May 2025.

github.com/golangci/gol...

#golang #golangcilint

26.05.2025 09:35 โ€” ๐Ÿ‘ 5    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
GopherCon UK 2025: Call for Speakers GopherCon UK is a three day event with one workshop day (August 13th) and three multi-track conference days (August 14th and 15th), held at The Brewer...

๐Ÿ”Š GopherCon UK is looking for more women speakers!

Representation matters! ๐Ÿ’ช If you are interested in doing a talk please submit a proposal ๐Ÿ‘‰ sessionize.com/gophercon-uk...

Also if you have any questions please reach out to us and we'll do the best we can to help! โค๏ธ

13.05.2025 15:34 โ€” ๐Ÿ‘ 2    ๐Ÿ” 2    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1
Financial report, April 2025

Financial report, April 2025

Golangci-lint financial report, April 2025.

This month, I added a full description of the money flow.

github.com/golangci/gol...

#golang #golangcilint

30.04.2025 11:31 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Changelog | golangci-lint Fast Go linters runner golangci-lint.

๐ŸŽ‰ New release (v2.1) of golangci-lint!

What's new?

golangci-lint.run/product/chan...

#golang #golangci #golangcilint

12.04.2025 17:42 โ€” ๐Ÿ‘ 4    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
golangci-lint financial report - march 2025

golangci-lint financial report - march 2025

Golangci-lint financial report.

github.com/golangci/gol...

#golang #golangcilint

28.03.2025 12:10 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Welcome to golangci-lint v2 I am thrilled to announce the release of v2! I hope is that these features will enhance your development experience.

I am thrilled to announce the release of golangci-lint v2!

ldez.github.io/blog/2025/03...

#golang #golangcilint

24.03.2025 12:46 โ€” ๐Ÿ‘ 11    ๐Ÿ” 3    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 1
Golangci-lint financial report.

February 2025

Golangci-lint financial report. February 2025

Golangci-lint financial report.

github.com/golangci/gol...

#golang #golangcilint

03.03.2025 15:40 โ€” ๐Ÿ‘ 4    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Changelog | golangci-lint Fast Go linters runner golangci-lint.

๐ŸŽ‰ New release (v1.64) of golangci-lint!

What's new?

golangci-lint.run/product/chan...

#golang #golangcilint

11.02.2025 22:13 โ€” ๐Ÿ‘ 3    ๐Ÿ” 2    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Golangci-lint financial report.

January 2025

Golangci-lint financial report. January 2025

Golangci-lint financial report.

github.com/golangci/gol...

#golang #golangcilint

27.01.2025 13:15 โ€” ๐Ÿ‘ 2    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1
๐Ÿชฉ It's time to create a v2 ๐Ÿš€ ยท Issue #5300 ยท golangci/golangci-lint There are at least 6 years since the idea of a v2 is here, we should pass this step now. ImportantThe focus will be on structural configuration changes and default values changes only (and removing...

Would you like to know the roadmap for golangci-lint v2?

github.com/golangci/gol...

#golang #golangcilint

16.01.2025 11:56 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
output:
  sort-results: true
  sort-order:
    - linter
    - file

output: sort-results: true sort-order: - linter - file

The configuration:

09.01.2025 19:32 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Video thumbnail

๐Ÿ’ก Tips of the day:

You can sort and group the reports by linter and by file.

Support golangci-lint: bento.me/golangci-lint

#golang #golangcilint

09.01.2025 19:32 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Since v1.63, more than 35 linters can automatically fix reports ๐Ÿช„

golangci-lint.run/usage/linters/

07.01.2025 13:46 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Video thumbnail

๐Ÿ’ก Tips of the day:
You can automatically fix reports of one linter without changing your configuration.

Support golangci-lint: bento.me/golangci-lint

#golang #golangcilint

07.01.2025 13:46 โ€” ๐Ÿ‘ 3    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
๐Ÿชฉ It's time to create a v2 ๐Ÿš€ ยท Issue #5300 ยท golangci/golangci-lint There are at least 6 years since the idea of a v2 is here, we should pass this step now. ImportantThe focus will be on structural configuration changes and default values changes only (and removing...

It's time for a v2 of golangci-lint!

github.com/golangci/gol...

#golang #golangcilint

06.01.2025 11:31 โ€” ๐Ÿ‘ 8    ๐Ÿ” 4    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Changelog | golangci-lint Fast Go linters runner golangci-lint.

Happy New Year ๐ŸŽ‰
New release (v1.63.0) of golangci-lint!

What's new?
golangci-lint.run/product/chan...

#golang #golangci-lint

01.01.2025 13:59 โ€” ๐Ÿ‘ 10    ๐Ÿ” 4    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

The configuration:

11.12.2024 19:52 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Video thumbnail

๐Ÿ’ก Tips of the day:
Do you want to prohibit leaving FIXMEs in your code but leave the possibility of putting TODOs?

Support golangci-lint: bento.me/golangci-lint

#golang #golangcilint

11.12.2024 19:52 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
> ./golangci-lint run example_test.go:41:18: os.CreateTemp("", ...) could be replaced by os.CreateTemp(t.TempDir(), ...) in TestSample (usetesting) tmpFile, err := os.CreateTemp("", pattern) example_test.go:46:17: os.MkdirTemp() could be replaced by t.TempDir() in TestSample (usetesting) tmpDir, err := os.MkdirTemp("", pattern) example_test.go:51:17: os.TempDir() could be replaced by t.TempDir() in TestSample (usetesting) otherTmpDir := os.TempDir() >

> ./golangci-lint run example_test.go:41:18: os.CreateTemp("", ...) could be replaced by os.CreateTemp(t.TempDir(), ...) in TestSample (usetesting) tmpFile, err := os.CreateTemp("", pattern) example_test.go:46:17: os.MkdirTemp() could be replaced by t.TempDir() in TestSample (usetesting) tmpDir, err := os.MkdirTemp("", pattern) example_test.go:51:17: os.TempDir() could be replaced by t.TempDir() in TestSample (usetesting) otherTmpDir := os.TempDir() >

linters:
  enable:
    - usetesting

linters-settings:
  usetesting:
    # Detects usage of `os.CreateTemp("", ...)`
    os-create-temp: true

    # Detects usage of `os.MkdirTemp()`
    os-mkdir-temp: true

    # Detects usage of `os.TempDir()`
    os-temp-dir: true

linters: enable: - usetesting linters-settings: usetesting: # Detects usage of `os.CreateTemp("", ...)` os-create-temp: true # Detects usage of `os.MkdirTemp()` os-mkdir-temp: true # Detects usage of `os.TempDir()` os-temp-dir: true

I created a new linter to detect calls which can be replaced by methods from the testing package.
github.com/ldez/usetest...

This new linter will be available in the next version of golangci-lint (v1.63).

Support my work: bento.me/ldez

#golang #golangcilint

09.12.2024 12:13 โ€” ๐Ÿ‘ 6    ๐Ÿ” 2    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
> go mod edit -go=1.22
> ./golangci-lint run
go.mod:3:1: go directive (1.22) doesn't match the pattern '\d\.\d+\.0$' (gomoddirectives) go 1.22
> go mod edit -go=1.22.3
> ./golangci-lint run
go.mod:3:1: go directive (1.22.3) doesn't match the pattern '\d\.\d+\.0$' (gomoddirectives) go 1.22.3
> go mod edit -go=1.22.0
> ./golangci-lint run

> go mod edit -go=1.22 > ./golangci-lint run go.mod:3:1: go directive (1.22) doesn't match the pattern '\d\.\d+\.0$' (gomoddirectives) go 1.22 > go mod edit -go=1.22.3 > ./golangci-lint run go.mod:3:1: go directive (1.22.3) doesn't match the pattern '\d\.\d+\.0$' (gomoddirectives) go 1.22.3 > go mod edit -go=1.22.0 > ./golangci-lint run

linters:
  enable:
    - gomoddirectives

linters-settings:
  gomoddirectives:
    # Defines a pattern to validate `go` directive.
    go-version-pattern: '\d\.\d+\.0$'

linters: enable: - gomoddirectives linters-settings: gomoddirectives: # Defines a pattern to validate `go` directive. go-version-pattern: '\d\.\d+\.0$'

I added an option to the `gomoddirectives` linter: it forces the usage of patch 0 (ex: 1.22.0) or go family (ex 1.22) as min go version.

github.com/ldez/gomoddi...

This feature will be available in the next version of golangci-lint (v1.63).

Support my work: bento.me/ldez

#golang #golangcilint

04.12.2024 13:03 โ€” ๐Ÿ‘ 2    ๐Ÿ” 2    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Output of the golangci-lint command

Output of the golangci-lint command

Example of linter configuration:

linters:
  enable:
    - tagliatelle

linters-settings:
  tagliatelle:
    case:
      rules:
        json: camel
      overrides:
        # Ignore a package.
        - pkg: my/pkg
          ignore: true
        # Use different rules by package.
        - pkg: my/otherpkg
          rules:
            json: snake

Example of linter configuration: linters: enable: - tagliatelle linters-settings: tagliatelle: case: rules: json: camel overrides: # Ignore a package. - pkg: my/pkg ignore: true # Use different rules by package. - pkg: my/otherpkg rules: json: snake

I updated `tagliatelle` linter, you can now define the naming rules of struct tags by package.

github.com/ldez/tagliat...

This new feature will be available in the next version of golangci-lint (v1.63).

Sponsor my work: bento.me/ldez

#golang #golangcilint

03.12.2024 17:02 โ€” ๐Ÿ‘ 0    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Are you interested in golangci-lint doing more automatic fixes?

If yes, it's time to put some money in the jar.

- opencollective.com/golangci-lint
- github.com/sponsors/gol...

#golang #golangcilint

03.12.2024 13:07 โ€” ๐Ÿ‘ 1    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Starting today, my only source of revenue is community sponsoring for my OSS work.

Currently, it is far from enough to live on.
The next months will be difficult, but I need to do it.

My main focus will be on golangci-lint and go-acme/lego, I want to add new features.

02.12.2024 15:57 โ€” ๐Ÿ‘ 8    ๐Ÿ” 4    ๐Ÿ’ฌ 4    ๐Ÿ“Œ 0

Have you already seen this kind of approach?
How can we reach this person?
What is the goal?

5/5

25.11.2024 15:22 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

We tried to contact the person behind this fake site (through the contact page, and by email) but we have no answers.

We checked the DNS and WHOIS information, and there is nothing that we can use.

We don't understand the goal of this person.

4/5

25.11.2024 15:22 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

However, the links inside the download pages are links to official release assets.

3/5

25.11.2024 15:22 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

The site is AI-generated, the contact information is fake (postal address, phone, email), and when I say fake it's because it's just some placeholder with no reality behind it.

This site also publishes AI-generated "guides"/blog posts regularly.

2/5

25.11.2024 15:22 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

@golangci-lint.run is following 20 prominent accounts