2019-01-12 00:25:55 +00:00
|
|
|
#
|
|
|
|
# .swiftlint.yml
|
|
|
|
# mas
|
|
|
|
#
|
|
|
|
# https://github.com/realm/SwiftLint#configuration
|
|
|
|
#
|
2024-02-18 19:13:42 +00:00
|
|
|
---
|
2024-10-21 11:47:39 +00:00
|
|
|
opt_in_rules:
|
2024-10-27 03:48:05 +00:00
|
|
|
- all
|
2021-05-08 20:26:25 +00:00
|
|
|
disabled_rules:
|
2024-10-27 03:48:05 +00:00
|
|
|
- balanced_xctest_lifecycle
|
|
|
|
- closure_body_length
|
|
|
|
- contrasted_opening_brace
|
|
|
|
- explicit_acl
|
|
|
|
- explicit_enum_raw_value
|
|
|
|
- explicit_top_level_acl
|
|
|
|
- explicit_type_interface
|
|
|
|
- file_header
|
|
|
|
- file_name
|
|
|
|
- final_test_case
|
|
|
|
- force_unwrapping
|
|
|
|
- function_body_length
|
|
|
|
- inert_defer
|
|
|
|
- legacy_objc_type
|
2024-11-03 18:40:46 +00:00
|
|
|
- no_extension_access_modifier
|
2024-10-27 03:48:05 +00:00
|
|
|
- no_grouping_extension
|
|
|
|
- number_separator
|
|
|
|
- one_declaration_per_file
|
|
|
|
- prefer_nimble
|
|
|
|
- prefixed_toplevel_constant
|
|
|
|
- quick_discouraged_call
|
|
|
|
- quick_discouraged_pending_test
|
|
|
|
- required_deinit
|
|
|
|
- sorted_enum_cases
|
2024-02-18 19:13:42 +00:00
|
|
|
- trailing_comma
|
2024-10-27 03:48:05 +00:00
|
|
|
- unused_capture_list
|
|
|
|
- vertical_whitespace_between_cases
|
2024-10-21 11:47:39 +00:00
|
|
|
file_types_order:
|
|
|
|
order: [
|
|
|
|
[main_type],
|
|
|
|
[supporting_type],
|
|
|
|
[extension],
|
|
|
|
[preview_provider],
|
|
|
|
[library_content_provider]
|
|
|
|
]
|