Skip to content

Commit

Permalink
Merge pull request ltransun-asterisk#3 from ltranframgia/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Tran Hai Linh authored Jun 21, 2017
2 parents bf04ddd + 01b3070 commit 963d687
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
disabled_rules: # rule identifiers to exclude from running
- line_length
variable_name:
min_length:
warning: 2
excluded: # paths to ignore during linting. Takes precedence over `included`.
- Carthage
- Pods
15 changes: 15 additions & 0 deletions BaseMVC.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@
8234BE0B1EF987C4009A5DE5 /* Resources */,
82CFF1F22C619A66AB2BD605 /* [CP] Embed Pods Frameworks */,
8453F4E3F802CF6A851561F5 /* [CP] Copy Pods Resources */,
8286E5541EFA13060065CDBD /* SwiftLint */,
);
buildRules = (
);
Expand Down Expand Up @@ -319,6 +320,20 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
8286E5541EFA13060065CDBD /* SwiftLint */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = SwiftLint;
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if which swiftlint >/dev/null; then\nswiftlint\nelse\necho \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
};
82CFF1F22C619A66AB2BD605 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down

0 comments on commit 963d687

Please sign in to comment.