Skip to content

Commit 5030b07

Browse files
committed
Merge pull request #46 from ReactKit/SwiftLint
Remove SwiftLint on xcodebuild.
2 parents fa5bad1 + 63a8d00 commit 5030b07

File tree

2 files changed

+3
-23
lines changed

2 files changed

+3
-23
lines changed

.swiftlint.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#
66

77
disabled_rules:
8-
- variable_name_min_length
98
- line_length
109
- function_body_length
1110
- type_body_length
@@ -22,13 +21,12 @@ disabled_rules:
2221
opt_in_rules:
2322
- empty_count
2423

25-
#included:
26-
# - Sources
27-
# - Tests
24+
included:
25+
- Sources
26+
- Tests
2827

2928
excluded:
3029
- Carthage
3130
- Packages
32-
- Benchmark/Packages
3331

3432
reporter: "xcode" # reporter type (xcode, json, csv, checkstyle)

SwiftState.xcodeproj/project.pbxproj

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,6 @@
273273
isa = PBXNativeTarget;
274274
buildConfigurationList = 1FA620131996601000460108 /* Build configuration list for PBXNativeTarget "SwiftState" */;
275275
buildPhases = (
276-
1F606A1F1C7CA6DD00F59FB3 /* SwiftLint */,
277276
1FA61FFB1996601000460108 /* Sources */,
278277
1FA61FFC1996601000460108 /* Frameworks */,
279278
1FA61FFD1996601000460108 /* Headers */,
@@ -359,23 +358,6 @@
359358
};
360359
/* End PBXResourcesBuildPhase section */
361360

362-
/* Begin PBXShellScriptBuildPhase section */
363-
1F606A1F1C7CA6DD00F59FB3 /* SwiftLint */ = {
364-
isa = PBXShellScriptBuildPhase;
365-
buildActionMask = 2147483647;
366-
files = (
367-
);
368-
inputPaths = (
369-
);
370-
name = SwiftLint;
371-
outputPaths = (
372-
);
373-
runOnlyForDeploymentPostprocessing = 0;
374-
shellPath = /bin/sh;
375-
shellScript = "if which swiftlint >/dev/null; then\nswiftlint\nelse\necho \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
376-
};
377-
/* End PBXShellScriptBuildPhase section */
378-
379361
/* Begin PBXSourcesBuildPhase section */
380362
1FA61FFB1996601000460108 /* Sources */ = {
381363
isa = PBXSourcesBuildPhase;

0 commit comments

Comments
 (0)