Created
June 28, 2020 12:22
-
-
Save brunogama/0f392427c075348bbe952c66266d3e5d to your computer and use it in GitHub Desktop.
Gist for .swiftlint.auto.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# Rules in this file will be automatically fixed. The script in Xcode must be | |
# changed to: | |
# | |
# if which swiftlint >/dev/null; then | |
# swiftlint autocorrect --config ".swiftlint.auto.yml" && swiftlint | |
# else | |
# echo "warning: SwiftLint not installed" | |
# echo "Download from https://github.com/realm/SwiftLint" | |
# fi | |
# | |
# Rules that support autocorrect: | |
# https://github.com/realm/SwiftLint/blob/master/Rules.md | |
whitelist_rules: | |
- trailing_whitespace | |
- trailing_newline | |
- vertical_whitespace | |
- comma | |
- colon | |
excluded: | |
# Either folders or the absolute path of files, as SwiftLint doesn't support | |
# recursive search (https://github.com/realm/SwiftLint/issues/2329). | |
- ${SRCROOT}/Union Pro/Support/Playground |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment