Skip to content

Instantly share code, notes, and snippets.

@weihanglo
Last active December 24, 2016 15:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save weihanglo/027fcf3861530a706d0381a77914536e to your computer and use it in GitHub Desktop.
Save weihanglo/027fcf3861530a706d0381a77914536e to your computer and use it in GitHub Desktop.
Configurations of iOS Project
opt_in_rules:
- closure_end_indentation
- closure_spacing
- empty_count
- force_unwrapping
- missing_docs
- operator_usage_whitespace
- private_outlet
- redundant_nil_coalescing
- overridden_super_call
excluded:
- Carthage
- Pods
- build
line_length:
- 120 # warning
- 180 # error
type_body_length:
- 300 # warning
- 400 # error
file_length:
warning: 500
error: 800
type_name:
min_length: 3
variable_name:
min_length: 3
reporter: "xcode" # 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