AlphaWallet / AlphaWallet/alpha-wallet-ios

Progressively run files through SwiftFormat by either tweaking rules in `.swiftformat` or adding/removing files to it

Đang mở
#6,583 40 bình luận 0 reaction 1 người được giao Được giao cho @eviltofu Xem trên GitHub
Ngôn ngữ chính
Swift
Star
631
Fork
384
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

The goal with `SwiftFormat` is to eventually have `--enable indent` uncommented in `.swiftformat`

We don't want a huge and unnecessary commit that modifies the entire codebase, so this GitHub issue is to do this:

1. Uncomment `--enable indent` in `.swiftformat`
2. `pods/SwiftFormat/CommandLineTool/swiftformat --config .swiftformat `
3. Undo (1), commit (2)
4. PR
5. Repeat 1-4 between other work, gradually

Feel free to suggest a better way.

One alternative that is cleaner:

1. Make a huge PR that adds these to every file:

```
//swiftformat:disable --indent

//swiftformat:enable --indent
```
2. Uncomment `--enable indent` in `.swiftformat`
3. PR
4. Fix 1-2 files at a time
5. PR
6. Repeat 4-6 between other work, gradually or while touching files in other PRs

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.