Skip to content

Commit d8c71ca

Browse files
authored
Add Format rules should be non-destructive (#337)
1 parent 3208700 commit d8c71ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Note that brevity is not a primary goal. Code should be made more concise only i
2222
* If a rule changes the format of the code, it needs to be able to be reformatted automatically (either using [SwiftFormat](https://github.com/nicklockwood/SwiftFormat) or [SwiftLint](https://github.com/realm/SwiftLint) autocorrect).
2323
* For rules that don't directly change the format of the code, we should have a lint rule that throws a warning.
2424
* Exceptions to these rules should be rare and heavily justified.
25+
* Format rules should be non-destructive.
2526

2627
## Swift Package Manager command plugin
2728

0 commit comments

Comments
 (0)