segmentio / golines

A golang formatter that fixes long lines
MIT License
903 stars 56 forks source link

feat: fix pre-commit config to use pass_filenames #133

Open sjackman opened 3 months ago

sjackman commented 3 months ago

Using pass_filenames: true (the default) is faster than golines -w ., because it runs golineson only the files that have changed.