Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexito4/config.swiftformat
My .swiftformat config
https://github.com/alexito4/config.swiftformat
Last synced: 1 day ago
JSON representation
My .swiftformat config
- Host: GitHub
- URL: https://github.com/alexito4/config.swiftformat
- Owner: alexito4
- License: mit
- Created: 2023-01-02T08:14:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-09T09:18:57.000Z (3 months ago)
- Last Synced: 2024-11-08T21:24:10.761Z (about 2 months ago)
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# config.swiftformat
This is the [swiftformat](https://github.com/nicklockwood/SwiftFormat) I use in my personal projects.
## Version
Updated for version: `0.54.6`.
## How to update
- Configured using the [UI app](https://github.com/nicklockwood/SwiftFormat#xcode-source-editor-extension).
- Comparing it with the defaults by running `swiftformat --rules` to have a decent baseline.
- Review each rule in [Rules.md](https://github.com/nicklockwood/SwiftFormat/blob/master/Rules.md).## How I run it
I have `swiftformat` installed globally via Homebrew so I can use it in any quick project without any setup.
```sh
swiftformat . --config ../../format/config.swiftformat
```## Author
Alejandro Martinez | https://alejandromp.com | [@alexito4](https://mastodon.social/@alexito4)