Skip to content

Commit 1d3c946

Browse files
committed
Prohibit usage of // swiftlint:disable: all
1 parent 61a3120 commit 1d3c946

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

CodeEdit.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@
513513
);
514514
runOnlyForDeploymentPostprocessing = 0;
515515
shellPath = /bin/sh;
516-
shellScript = "TAGS=\"\\/\\/ swiftlint:disable all\"\necho \"searching ${SRCROOT} for ${TAGS}\"\nfind \"${SRCROOT}\" \\( -name \"*.swift\" \\) -print0 | xargs -0 egrep --with-filename --line-number --only-matching \"($TAGS).*\\$\" | perl -p -e \"s/($TAGS)/ error: Usage of \\$1 is prohibited/\"\n\nif [find \"${SRCROOT}\" \\( -name \"*.swift\" \\) -print0 | xargs -0 egrep --with-filename --line-number --only-matching \"($TAGS).*\\$\" -gt 0] then;\nexit 1;\nfi\n";
516+
shellScript = "TAGS=\"\\/\\/ swiftlint:disable all\"\necho \"searching ${SRCROOT} for ${TAGS}\"\nfind \"${SRCROOT}\" \\( -name \"*.swift\" \\) -print0 | xargs -0 egrep --with-filename --line-number --only-matching \"($TAGS).*\\$\" | perl -p -e \"s/($TAGS)/ error: Usage of \\$1 is prohibited/\"\n";
517517
};
518518
2B1A76FC27F628BD008ED4A2 /* Update commit hash */ = {
519519
isa = PBXShellScriptBuildPhase;

CodeEdit/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@
4545
</dict>
4646
</array>
4747
<key>GitHash</key>
48-
<string>a5f1f20c33a08aae004ad4d057493b9fc1ff5170</string>
48+
<string>61a3120da9efa23a436cc28189334adae3b27e5c</string>
4949
</dict>
5050
</plist>

CodeEdit/Welcome/WelcomeWindowView.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ struct WelcomeWindowView: View {
1414
WelcomeView {
1515
windowController.window?.close()
1616
}
17-
// swiftlint:disable all
1817
RecentProjectsView {
1918
windowController.window?.close()
2019
}

0 commit comments

Comments
 (0)