#golangcilint

Gabriel :golang:Crocmagnon@fosstodon.org
2025-05-31

@scy also, setup golangci-lint on your codebase and try to enable many linters. Some are quite opinionated but others help you write modern go.

#golangcilint #linter

golangci-lint.run

2025-05-15

В поисках хорошего стиля. Часть 2. Пишем свой линтер на Go для golangci-lint

Привет! Меня зовут Артём Блохин, я Go-разработчик в команде интеграций Островка. Сегодня поговорим о линтинге кода. Если бы «Сумерки» были про код, Эдвард — был линтером, а Белла — легаси-кодом, их диалог звучал бы так:

habr.com/ru/companies/ostrovok

#golang #golangcilint #линтер #статический_анализ #анализ_кода #ast #чистый_код #островок #styleguide #плагины

2025-04-30

Golangci-lint financial report, April 2025.

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

github.com/golangci/golangci-l

#golang #golangcilint

Financial report, April 2025
Crandel 🇺🇦 :arch: :emacs:crandel@fosstodon.org
2025-04-27

If you need to add additional args to #golangcilint exec in #Emacs flymake-golangci integration I've made a fork for it
github.com/Crandel/flymake-gol

Salem's LotSalemsLot
2025-04-15

Hooray for service bridges from Interfaces because mocking every dependency from that service would have driven me insane.

2025-04-12

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

What's new?

golangci-lint.run/product/chan

#golang #golangci #golangcilint

2025-03-27

Be aware of the breaking changes in golangci-lint v2. Lots of CLI args have been removed and their equivalents are now expected to be configured in the yaml config.

This unfortunately moves some level of control from the CLI.

Especially make sure to review the relative-path-mode setting which changes how any path specified in the yaml config if now interpreted.

#go #golang #golangci #golangcilint

2025-03-24

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

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

#golang #golangcilint

2025-02-11

🎉 New release (v1.64) of golangci-lint!

What's new?

golangci-lint.run/product/chan

#golang #golangcilint

Maxim Lebedevtoby3d@mstdn.io
2025-02-06

ah, yes, thank you golangci-lint

#Go #golang #golangcilint #linter #Sublime #SublimeText

A screenshot of a code editor shows a misspelling warning from golangci-lint. The comment in the code contains the word "prevert" instead of "prevent," triggering the misspell linter check. The warning message suggests that "prevert" is a misspelling of "pervert." The code appears to be related to password handling in Go, with a function that returns a masked password as a string.
2025-01-16

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

github.com/golangci/golangci-l

#golang #golangcilint

2025-01-09

💡 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

> ./golangci-lint run
another_example.go:6:8: Error return value is not checked (errcheck)
FooFoo()
another_example.go:8:8: Error return value is not checked (errcheck)
BarBar()
example.go:6:5: Error return value is not checked (errcheck)
Foo()
example.go:8:5: Error return value is not checked (errcheck)
Bar()
another_example.go:21:23: stringintconv: conversion from int to string yields a string of one rune, not a s tring of digits (govet)
fmt.Println("i = " + string(i))
example.go:21:23: stringintconv: conversion from int to string yields a string of one rune, not a string of digits (govet)
fmt.Println("i = " + string(i)) > 11
2025-01-07

💡 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

2025-01-01

Happy New Year 🎉
New release (v1.63.0) of golangci-lint!

What's new?

golangci-lint.run/product/chan

#golang #golangcilint

2024-12-11

💡 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

linters:
  enable:
    - godox

linters-settings:
  godox:
    keywords:
      - FIXME

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst