react-native-vision-camera/ios/.swiftlint.yml

52 lines
1.2 KiB
YAML
Raw Normal View History

2021-02-23 04:27:40 -07:00
disabled_rules:
- identifier_name
- trailing_comma
- todo
2021-02-25 06:03:41 -07:00
- type_body_length
2021-02-25 06:05:20 -07:00
- cyclomatic_complexity
- function_body_length
opt_in_rules:
- contains_over_filter_count
- contains_over_filter_is_empty
- contains_over_first_not_nil
- contains_over_range_nil_comparison
- empty_collection_literal
- empty_count
- empty_string
- first_where
- flatmap_over_map_reduce
- last_where
- reduce_boolean
- reduce_into
- sorted_first_last
2021-02-25 06:38:38 -07:00
- yoda_condition
- vertical_whitespace_opening_braces
- vertical_whitespace_closing_braces
- vertical_parameter_alignment_on_call
- unused_import
- unused_declaration
- untyped_error_in_catch
- unowned_variable_capture
- unavailable_function
- switch_case_on_newline
- static_operator
- strict_fileprivate
- sorted_imports
- sorted_first_last
- required_enum_case
- redundant_type_annotation
- redundant_nil_coalescing
- attributes
- convenience_type
- explicit_self
2021-02-23 04:27:40 -07:00
excluded: # paths to ignore during linting. Takes precedence over `included`.
- Pods
# Adjust rule numbers
line_length: 160
2021-02-25 06:05:20 -07:00
file_length: 500
2021-02-23 04:27:40 -07:00
# reporter type (xcode, json, csv, checkstyle, codeclimate, junit, html, emoji, sonarqube, markdown, github-actions-logging)
reporter: "xcode"