Skip to content

Commit

Permalink
Fixing swiftlint for new folder config (#2093)
Browse files Browse the repository at this point in the history
  • Loading branch information
mischreiber authored Oct 2, 2024
1 parent 9e9db43 commit 308f8b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,9 @@ only_rules:

included: # paths to include during linting. `--path` is ignored if present.
- ${LINTPATH}
- ios
- macos
- Demos
- Sources
- Tests

excluded: # paths to ignore during linting. Takes precedence over `included`.
- Pods
Expand Down
2 changes: 2 additions & 0 deletions Sources/FluentUI_iOS/Core/FluentUIFramework.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ public class FluentUIFramework: NSObject {

@objc public static var fluentVersion: String? = {
struct VersionConfig: Decodable {
// swiftlint:disable identifier_name
let FluentVersion: String
// swiftlint:enable identifier_name
}

guard let url = resourceBundle.url(forResource: "Version", withExtension: "plist"),
Expand Down

0 comments on commit 308f8b7

Please sign in to comment.