Skip to content

Commit ac45eeb

Browse files
author
Garrett Moseke
committed
docs: add Contributing/Code Formatting section to README
1 parent 5cd04d3 commit ac45eeb

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1-
# swift-numerics-differentiable
1+
# swift-numerics-differentiable
2+
3+
## Contributing
4+
### Code Formatting
5+
This package makes use of [swift-format](https://github.com/swiftlang/swift-format), which is built directly into the swift toolchain as of
6+
swift 6. To apply formatting rules to all files, which you should do before submitting a PR, run from the root of the repository:
7+
```sh
8+
swift format --in-place --recursive .
9+
```
10+

0 commit comments

Comments
 (0)