46 lines
1.0 KiB
YAML
46 lines
1.0 KiB
YAML
|
whitelist_rules:
|
||
|
- closure_spacing
|
||
|
- colon
|
||
|
- empty_enum_arguments
|
||
|
- fatal_error_message
|
||
|
- force_cast
|
||
|
- force_try
|
||
|
- force_unwrapping
|
||
|
- implicitly_unwrapped_optional
|
||
|
- legacy_cggeometry_functions
|
||
|
- legacy_constant
|
||
|
- legacy_constructor
|
||
|
- legacy_nsgeometry_functions
|
||
|
- operator_usage_whitespace
|
||
|
- redundant_string_enum_value
|
||
|
- redundant_void_return
|
||
|
- return_arrow_whitespace
|
||
|
- trailing_newline
|
||
|
- type_name
|
||
|
- unused_closure_parameter
|
||
|
- unused_optional_binding
|
||
|
- vertical_whitespace
|
||
|
- void_return
|
||
|
- custom_rules
|
||
|
|
||
|
excluded:
|
||
|
- Carthage
|
||
|
- Pods
|
||
|
- ZcashLightClientKit/Service/ProtoBuf/compact_formats.pb.swift
|
||
|
- ZcashLightClientKit/Service/ProtoBuf/service.grpc.swift
|
||
|
- ZcashLightClientKit/Service/ProtoBuf/service.pb.swift
|
||
|
- Example
|
||
|
- ZcashLightClientKitTests
|
||
|
|
||
|
colon:
|
||
|
apply_to_dictionaries: false
|
||
|
|
||
|
indentation: 2
|
||
|
|
||
|
custom_rules:
|
||
|
no_objcMembers:
|
||
|
name: "@objcMembers"
|
||
|
regex: "@objcMembers"
|
||
|
message: "Explicitly use @objc on each member you want to expose to Objective-C"
|
||
|
severity: error
|