Advertisement · 728 × 90
#
Hashtag
#golangcilint
Advertisement · 728 × 90
Financial report, January 2026

Financial report, January 2026

Golangci-lint financial report, January 2026.

github.com/golangci/gol...

#golang #golangcilint

1 0 0 0
Financial report, December 2025

Financial report, December 2025

Golangci-lint financial report, December 2025.

github.com/golangci/gol...

#golang #golangcilint

0 0 0 0
Financial report, November 2025

Financial report, November 2025

Golangci-lint financial report, November 2025.

github.com/golangci/gol...

#golang #golangcilint

0 0 0 0
Changelog Follow the news and releases on Mastodon and on Bluesky. golangci-lint is a free and open-source project built by volunteers. If you value it, consider supporting us, we appreciate it! Donate ❤️ v2...

🎉 New release (v2.7) of golangci-lint!

golangci-lint.run/docs/product...

#golang #golangcilint

6 1 0 0
Financial report, October 2025

Financial report, October 2025

Golangci-lint financial report, October 2025.
github.com/golangci/gol...

#golang #golangcilint

0 0 0 0
Changelog Follow the news and releases on Mastodon and on Bluesky. golangci-lint is a free and open-source project built by volunteers. If you value it, consider supporting us, we appreciate it! Donate ❤️ v2...

🎉 New release (v2.6) of golangci-lint!

What's new?
- modernize analyzer suite
- as usual, several improvements and bug fixes to linters

golangci-lint.run/docs/product...

#golang #golangcilint

3 1 0 0
Financial report, September 2025

Financial report, September 2025

Golangci-lint financial report, September 2025.

github.com/golangci/gol...

#golang #golangcilint

0 0 0 0
Financial report, August 2025

Financial report, August 2025

Golangci-lint financial report, August 2025.

github.com/golangci/gol...

#golang #golangcilint

0 0 0 0
Changelog Follow the news and releases on Mastodon and on Bluesky. golangci-lint is a free and open-source project built by volunteers. If you value it, consider supporting us, we appreciate it! Donate ❤️ v2...

🎉 New release (v2.4) of golangci-lint!

What's new?
- go1.25 support
- new documentation website (with search engine and more)
- as usual several improvements and bug fixes to linters

golangci-lint.run/docs/product...

#golang #golangcilint

8 2 0 0
Financial report, July 2025

Financial report, July 2025

Golangci-lint financial report, July 2025.

github.com/golangci/gol...

#golang #golangcilint

1 0 0 0
Financial report, June 2025

Financial report, June 2025

Golangci-lint financial report, June 2025.

github.com/golangci/gol...

#golang #golangcilint

0 0 0 0
Financial report, May 2025

Financial report, May 2025

Golangci-lint financial report, May 2025.

github.com/golangci/gol...

#golang #golangcilint

5 0 0 0
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

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

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

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

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

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

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

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

2 0 0 0
Video

💡 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

0 0 1 0
Video

💡 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

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

8 4 0 0
Video

💡 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

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

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

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

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

1 1 0 0