danger-ruby-swiftformat icon indicating copy to clipboard operation
danger-ruby-swiftformat copied to clipboard

Run on all .swift files, not just added/modified

Open sundeepgupta opened this issue 4 years ago • 3 comments

Hi there, Is there a way to achieve this?

sundeepgupta avatar May 12 '21 14:05 sundeepgupta

Similar to the SwiftLint plugin's swiftlint.lint_all_files = true

sundeepgupta avatar May 12 '21 14:05 sundeepgupta

This seems critical, this is what we want to do on all of our PRs. Please add support for this.

The bash command would be swiftformat . for us

tsheaff avatar Jul 12 '21 23:07 tsheaff

Doing a bit of spring cleaning on this repo.

This isn't something I had originally planned for this tool since it increases the running time of swiftformat, which can get quite large on big projects.

Happy to merge a PR that would add this option.

garriguv avatar Nov 10 '23 14:11 garriguv