Skip to content

Commit 49bdd12

Browse files
Add swiftlint:disable all to leading trivia (#53)
This line is also present on files generated by `swift-protobuf`. --------- Co-authored-by: George Barnett <[email protected]>
1 parent 6830cf0 commit 49bdd12

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

Sources/GRPCProtobufCodeGen/ProtobufCodeGenParser.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ package struct ProtobufCodeGenParser {
6565
let leadingTrivia = """
6666
// DO NOT EDIT.
6767
// swift-format-ignore-file
68+
// swiftlint:disable all
6869
//
6970
// Generated by the gRPC Swift generator plugin for the protocol buffer compiler.
7071
// Source: \(descriptor.name)
75 Bytes
Binary file not shown.

Tests/GRPCProtobufCodeGenTests/ProtobufCodeGenParserTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ struct ProtobufCodeGenParserTests {
4646
4747
// DO NOT EDIT.
4848
// swift-format-ignore-file
49+
// swiftlint:disable all
4950
//
5051
// Generated by the gRPC Swift generator plugin for the protocol buffer compiler.
5152
// Source: test-service.proto

Tests/GRPCProtobufCodeGenTests/ProtobufCodeGeneratorTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ struct ProtobufCodeGeneratorTests {
5555
5656
// DO NOT EDIT.
5757
// swift-format-ignore-file
58+
// swiftlint:disable all
5859
//
5960
// Generated by the gRPC Swift generator plugin for the protocol buffer compiler.
6061
// Source: test-service.proto
@@ -1113,6 +1114,7 @@ struct ProtobufCodeGeneratorTests {
11131114
11141115
// DO NOT EDIT.
11151116
// swift-format-ignore-file
1117+
// swiftlint:disable all
11161118
//
11171119
// Generated by the gRPC Swift generator plugin for the protocol buffer compiler.
11181120
// Source: foo-messages.proto

Tests/GRPCProtobufTests/Errors/Generated/error-service.grpc.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
// DO NOT EDIT.
1717
// swift-format-ignore-file
18+
// swiftlint:disable all
1819
//
1920
// Generated by the gRPC Swift generator plugin for the protocol buffer compiler.
2021
// Source: error-service.proto

0 commit comments

Comments
 (0)