Created
September 18, 2017 20:54
-
-
Save PauloLeon/0556b44a4652d45f231d43b4e94c4553 to your computer and use it in GitHub Desktop.
the custom rules for swxftlint
This file contains 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
excluded: # paths to ignore during linting. Takes precedence over `included`. | |
- Carthage | |
- Pods | |
- Source/ExcludedFolder | |
- Source/ExcludedFile.swift | |
# rules that have both warning and error levels, can set just the warning level | |
# implicitly | |
line_length: 250 | |
# additionally they can set excluded names | |
identifier_name: | |
min_length: # only min_length | |
error: 2 # only error | |
excluded: # excluded via string array | |
- id | |
- URL | |
- GlobalAPIKey | |
reporter: "xcode" # reporter type (xcode, json, csv, checkstyle, junit, html, emoji) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment