Skip to content

v2.30.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 04:49
· 24 commits to main since this release

Features

  • Unknown rule names in the settings are reported. A typo in rules, exclude_rules or priority silently changed the behavior: an excluded rule kept running, a rule listed in rules was never enabled, and a priority override was never applied. The names are now validated against the built-in rules, so a correction run prints a warning next to the unknown settings keys, and go-fuck --doctor lists them in the config check with the setting and the name (for example exclude_rules "git_pushh"). The check covers the rules, exclude_rules and priority settings.

Verification

  • Full test suite, gofmt, go vet and the rule list check pass; CI is green on Linux, macOS and Windows with lint and the 94% coverage gate.
  • Live checks with an isolated configuration directory: a settings file with exclude_rules: ["git_pushh"] produces the warning during a correction run and a warning line in go-fuck --doctor, while the built-in rule names and All rules enabled stay silent.
  • Distribution manifests are regenerated for 2.30.0 and the AUR package is published as 2.30.0-1.

Upgrade

Homebrew, Scoop and AUR update through their package managers; go install github.com/leafevans/go-fuck/v2/cmd/go-fuck@latest picks up 2.30.0.

Changelog

Full Changelog: v2.29.0...v2.30.0