Add a "Development" guide
The guide should cover pull request and testing expectations, coding style (re: this note), and any platform-specific requirements.
I covered the PR part of this issue in https://github.com/apple/swift-argument-parser/pull/53 . What remains is:
- Testing expectation
- Coding style
Did I miss anything now?
Regarding Coding style: in Swift Crypto we have a sanity script (relevant lines), being run by CI, which invokes swiftformat (nicklockwood/SwiftFormat) - with this config, and reports failure if the output of swiftformat does not equal the committed code - effectively ensuring proper formating. At least that is one part of coding style that might be automated.
@natecook1000 What do you think about swiftformat and/or possibly swiftlint for code style?
I can't remember why Nick Lookwoods (excellent repo) was used instead of Apple's own swiftformat in swift-crypto. Maybe @tomerd or Lukasa knows?
Still working on getting CI set up for this project — once that's in place we can look at adding steps to it. I'd love to have a linter take care of this, but we'll need a first round to get to a state where we could use it going forward. Do you want to see if a lenient set of rules could get us passing without too much churn?