Commit 8fe122e0 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk Committed by Andreas Traczyk
Browse files

swiftlint: change configuration



Ignore generated files and use swiftlint only in debugging
configuration.

Change-Id: I356afd1e55923ed1b907dfa1f10212e2b6afa5e9
Reviewed-by: Andreas Traczyk's avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
parent a44b205d
...@@ -7,6 +7,7 @@ opt_in_rules: # some rules are only opt-in ...@@ -7,6 +7,7 @@ opt_in_rules: # some rules are only opt-in
excluded: # paths to ignore during linting. Takes precedence over `included`. excluded: # paths to ignore during linting. Takes precedence over `included`.
- Carthage - Carthage
- Pods - Pods
- Ring/Constants
force_cast: warning # implicitly force_cast: warning # implicitly
force_try: force_try:
......
...@@ -1224,7 +1224,7 @@ ...@@ -1224,7 +1224,7 @@
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh; shellPath = /bin/sh;
shellScript = "if which swiftlint > /dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi"; shellScript = "if [ \"${CONFIGURATION}\" != \"Release\" ]; then\n if which swiftlint > /dev/null; then\n swiftlint\n else\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\n fi\nfi";
}; };
1ABE07C41F0D779F00D36361 /* ⚙️ SwiftGen Code Generation */ = { 1ABE07C41F0D779F00D36361 /* ⚙️ SwiftGen Code Generation */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment