Created
September 18, 2017 20:54
-
-
Save PauloLeon/1b1aa7218e06b0b185c12871f45c4ae8 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