Skip to content

Commit

Permalink
Update SwiftLint
Browse files Browse the repository at this point in the history
  • Loading branch information
ppraveentr committed Oct 25, 2024
1 parent 84f9e40 commit 7b436b3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Example/MobileCoreExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@
mainGroup = DE9221C01EF28CDF000C8FC7;
packageReferences = (
D4E050652CCB4A5D0028D1CE /* XCLocalSwiftPackageReference "../../MobileCore" */,
D4E050702CCB516E0028D1CE /* XCRemoteSwiftPackageReference "SwiftLint" */,
);
productRefGroup = DE9221CA1EF28CDF000C8FC7 /* Products */;
projectDirPath = "";
Expand Down Expand Up @@ -731,6 +732,17 @@
};
/* End XCLocalSwiftPackageReference section */

/* Begin XCRemoteSwiftPackageReference section */
D4E050702CCB516E0028D1CE /* XCRemoteSwiftPackageReference "SwiftLint" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/realm/SwiftLint.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 0.57.0;
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
D4E050632CCB470B0028D1CE /* MobileTheming */ = {
isa = XCSwiftPackageProductDependency;
Expand Down
1 change: 1 addition & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ end

desc "Does a static analysis of the project. Configure the options in .swiftlint.yml"
lane :lint do
brew install swiftlint
swiftlint(
mode: :lint,
output_file: 'reports/swiftlint.txt',
Expand Down

0 comments on commit 7b436b3

Please sign in to comment.