cgrindel / rules_swiftformat

Bazel rules that format Swift source files using nicklockwood/SwiftFormat.
Apache License 2.0
8 stars 0 forks source link

Set default value for config attribute of swiftformat_format #14

Closed cgrindel closed 3 years ago

cgrindel commented 3 years ago

This requires that anyone that uses the rules must have a .swiftformat file and it must be exposed as a target at //:.swiftformat. This seems reasonable given that anyone that wants to use swiftformat will have a config file with their options set. The standard procedure is to store it at the root of the project.