Skip to content

Commit

Permalink
fix linting on BPKCommon
Browse files Browse the repository at this point in the history
  • Loading branch information
gert-janvercauteren committed Jul 19, 2023
1 parent ed8a2cc commit 3d99394
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
5 changes: 2 additions & 3 deletions Backpack-Common/BPKCommonBundle.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@
* limitations under the License.
*/

import Foundation
import Foundation

@objc
public class BPKCommonBundle: NSObject {
@objc
public static var iconsBundle: Bundle {
@objc public static var iconsBundle: Bundle {
guard
let url = Bundle(for: BPKCommonBundle.self).resourceURL?.appendingPathComponent("Icons.bundle"),
let bundle = Bundle(url: url)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ public class BPKAutoMirrorIconNames: NSObject {
"trend--will-rise",
"trend"
]
}
}
1 change: 1 addition & 0 deletions Example/.swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ excluded:
included:
- ../Backpack
- ../Backpack-SwiftUI
- ../Backpack-Common
- ./

custom_rules:
Expand Down
2 changes: 1 addition & 1 deletion templates/BPKAutoMirrorIconNames.njk
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ public class BPKAutoMirrorIconNames: NSObject {
@objc public static let items = [
"{{iconNames | join('",\n "') | safe}}"
]
}
}

0 comments on commit 3d99394

Please sign in to comment.