new
1.0.0
🎁 New:
- Trunk single player mode: trunk init --invisiblewill add.trunkto your local git ignores (.git/info/exclude) so you can use trunk with commiting anything to your repository.
- trunk init sharewill remove.trunkfrom your local git ignores if it exists.
- trunk init hidewill add.trunkto your local git ignores if it doesn't exist.
- When checking for the latest version of tools, trunk now uses its own caching service to avoid GitHub api limits.
- New default action: trunk-share-with-everyone, creates a notification to unignore .trunk when it is found in .git/info/exclude.
- Swift support (macOS only): stringslint,swiftlint,swiftformat
✨ Improved:
- Trunk will now watch trunk.yamland turn on git hook management automatically when enabling git hooks.
- Trunk will now stop managing git hooks when the last git hook is disabled.
- When trunk configuration is invalid, the errors are now presented as diagnostics instead of an error message.
- Trunk now respects the environment variable XDG_CACHE_HOMEwhen downloading and installing tools.
- You can now trunk initoutside a git repo by passing--force.
- Trunk now merges all plugin.yamlfound in plugins, allowing self-contained linter directories.
🔧 Fix:
- Local plugin development ....
- --jobsnow works properly with--ci
- TFLintconfiguration now correctly allows exit code 1, without causing errors in Trunk.