Fix renamed SwiftLint analyzer rule (#213)

This commit is contained in:
JP Simard 2019-10-20 10:57:12 -07:00 committed by GitHub
parent acd65f2035
commit c61caea937
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ included:
- Tests
analyzer_rules:
- unused_import
- unused_private_declaration
- unused_declaration
line_length: 120
identifier_name:
excluded:

View File

@ -218,7 +218,7 @@ class EncoderTests: XCTestCase { // swiftlint:disable:this type_body_length
// https://github.com/jpsim/Yams/pull/95
struct Sample: Decodable {
// Used for its decodable behavior, even though it's not referenced directly.
// swiftlint:disable:next unused_private_declaration
// swiftlint:disable:next unused_declaration
let values: [String]
}