Skip to content

Instantly share code, notes, and snippets.

@tokijh
Created July 2, 2019 07:00
Show Gist options
  • Save tokijh/61df8544861edffea637c8f5769cb561 to your computer and use it in GitHub Desktop.
Save tokijh/61df8544861edffea637c8f5769cb561 to your computer and use it in GitHub Desktop.
Swift List style
included:
- PROJECT/
- PROJECT_TESTS/
excluded:
- Pods/
opt_in_rules:
- attributes
- closure_end_indentation
- closure_spacing
- empty_count
- explicit_init
- first_where
- number_separator
- object_literal
- operator_usage_whitespace
- sorted_imports
disabled_rules:
- conditional_returns_on_newline
- file_header
- identifier_name
- todo
- type_name
- unused_closure_parameter
force_try:
severity: error
force_unwrapping:
severity: error
function_body_length:
- 100 # warning
- 200 # error
identifier_name:
excluded:
- id
- on
- URL
- vc
- x
- y
line_length: 120
type_body_length:
- 400 # warning
- 600 # error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment