Skip to content

Commit 27a80c6

Browse files
Wilfredmeta-codesync[bot]
authored andcommitted
Disable import ordering on files changed by swift-format 6.3 (4/4)
Summary: Even after D100009690, there are some files whose import formatting is different between swift-format 6.2 and 6.3. We require fbsource to be unchanged when we roll out new versions of the formatter (see D102147219 and its failing signal `linter-update-verification_swiftformat_fbsource`). To solve this, add the following comment files whose formatting would otherwise change: ``` // Disabled during swift-format 6.3 rollout, feel free to remove: // swift-format-ignore-file: OrderedImports ``` We can remove this comment and fix imports once swift-format 6.3 lands (they're mostly test files which are very safe to codemod anyway), but we need this comment during this transition stage. allow-large-files allow_many_files bypass-lint drop-conflicts Differential Revision: D102170960 fbshipit-source-id: 9c0ae593e9032866306f334c09f9f9d4b861f83b
1 parent d99814b commit 27a80c6

9 files changed

Lines changed: 27 additions & 0 deletions

Sources/QuickLayout/QuickLayoutBridge/__server_snapshot_tests__/HStackRTLServerSnapshotTests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8+
// Disabled during swift-format 6.3 rollout, feel free to remove:
9+
// swift-format-ignore-file: OrderedImports
10+
811
import FBServerSnapshotTestCase
912
import FBTestImageGenerator
1013

Sources/QuickLayout/QuickLayoutBridge/__tests__/BodyCreationTests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8+
// Disabled during swift-format 6.3 rollout, feel free to remove:
9+
// swift-format-ignore-file: OrderedImports
10+
811
import XCTest
912

1013
@testable import QuickLayoutBridge

Sources/QuickLayout/QuickLayoutBridge/__tests__/BodyCreationWithNestedViewsTests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8+
// Disabled during swift-format 6.3 rollout, feel free to remove:
9+
// swift-format-ignore-file: OrderedImports
10+
811
import XCTest
912

1013
@testable import QuickLayoutBridge

Sources/QuickLayout/QuickLayoutBridge/__tests__/FuzzyComparisonTests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8+
// Disabled during swift-format 6.3 rollout, feel free to remove:
9+
// swift-format-ignore-file: OrderedImports
10+
811
import XCTest
912

1013
@testable import QuickLayoutCore

Sources/QuickLayout/QuickLayoutBridge/__tests__/MethodOverrideTests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8+
// Disabled during swift-format 6.3 rollout, feel free to remove:
9+
// swift-format-ignore-file: OrderedImports
10+
811
import XCTest
912

1013
@testable import QuickLayoutBridge

Sources/QuickLayout/QuickLayoutBridge/__tests__/MethodOverrideWithSuperclassTests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8+
// Disabled during swift-format 6.3 rollout, feel free to remove:
9+
// swift-format-ignore-file: OrderedImports
10+
811
import XCTest
912

1013
@testable import QuickLayoutBridge

Sources/QuickLayout/QuickLayoutBridge/__tests__/PixelGridRoundingTests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8+
// Disabled during swift-format 6.3 rollout, feel free to remove:
9+
// swift-format-ignore-file: OrderedImports
10+
811
import XCTest
912

1013
@testable import QuickLayoutCore

Sources/QuickLayout/QuickLayoutBridge/__tests__/ThreadSafetyTests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8+
// Disabled during swift-format 6.3 rollout, feel free to remove:
9+
// swift-format-ignore-file: OrderedImports
10+
811
import XCTest
912

1013
@testable import QuickLayoutBridge

Sources/QuickLayout/QuickLayoutBridge/__tests__/UIKitStandardLibrarySizingBehaviourTests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8+
// Disabled during swift-format 6.3 rollout, feel free to remove:
9+
// swift-format-ignore-file: OrderedImports
10+
811
import XCTest
912

1013
@testable import QuickLayoutCore

0 commit comments

Comments
 (0)