Skip to content

Instantly share code, notes, and snippets.

@vixentael
Last active January 10, 2016 23:23
Show Gist options
  • Select an option

  • Save vixentael/0430ca87f454bc42109e to your computer and use it in GitHub Desktop.

Select an option

Save vixentael/0430ca87f454bc42109e to your computer and use it in GitHub Desktop.
my swiftlint configuration
# what is this? https://github.com/realm/SwiftLint
# how to install? https://github.com/realm/SwiftLint
# where to put? <path_to_workspace>/<project_name>/.swiftlint.yml (at the same level as <project_name>.xcodeproj)
disabled_rules: # rule identifiers to exclude from running
- control_statement
- trailing_whitespace
- todo
- valid_docs
# parameterized rules are first parameterized as a warning level, then error level.
line_length: 120
type_body_length: 300
function_body_length: 40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment