2019-01-12 00:25:55 +00:00
|
|
|
#
|
|
|
|
# .swiftlint.yml
|
|
|
|
# mas
|
|
|
|
#
|
|
|
|
# https://github.com/realm/SwiftLint#configuration
|
|
|
|
#
|
2024-09-30 15:28:25 +00:00
|
|
|
---
|
2024-10-21 11:47:39 +00:00
|
|
|
opt_in_rules:
|
2024-10-21 16:54:31 +00:00
|
|
|
- all
|
2021-05-08 20:26:25 +00:00
|
|
|
disabled_rules:
|
2024-10-21 16:54:31 +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
|
2024-10-21 11:47:39 +00:00
|
|
|
- function_body_length
|
2024-10-21 16:54:31 +00:00
|
|
|
- inert_defer
|
|
|
|
- legacy_objc_type
|
2024-10-30 07:19:30 +00:00
|
|
|
- no_extension_access_modifier
|
2024-10-21 16:54:31 +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
|
2021-05-08 20:26:25 +00:00
|
|
|
- trailing_comma
|
2024-10-21 16:54:31 +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]
|
|
|
|
]
|