Skip to content

Support for Repo-Level revive.toml Config File - v1.0.0-beta.5

Compare
Choose a tag to compare
@TekWizely TekWizely released this 11 Dec 06:34
· 3 commits to master since this release
bd69b81

Release v1.0.0-beta.5

Adds Built-in Support for Repo-Level revive.toml Config File

Modifies revive hooks:

  • Auto-adds -config=revive.toml argument if file is present in repository root
  • Triggers hooks when repo-level revive.toml is modified
  • Updates README

NOTE: Although the file-based go-revive hook is configured to trigger when revive.toml is modified, it will essentially do nothing if there are no .go files staged. We might consider adding some logic to run against ALL .go files in the repo, but I'm really not sure thats a good idea, and I probably didn't need to add a trigger to the file-level hook at all.

Full Changelog: v1.0.0-beta.4...v1.0.0-beta.5


cc: @mgechev, @adambabik