-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy path.swiftlint.yml
65 lines (65 loc) · 1.54 KB
/
.swiftlint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
included:
- Plugins
- Source
- Tests
- Package.swift
analyzer_rules:
- unused_declaration
- unused_import
disabled_rules:
- comma
- void_return
- cyclomatic_complexity
- force_cast
- large_tuple
- comment_spacing
- private_over_fileprivate
- redundant_discardable_let
- statement_position
- file_length
- function_body_length
- identifier_name
- line_length
- number_separator
- sorted_imports
- trailing_whitespace
- vertical_whitespace
- vertical_whitespace_opening_braces
- vertical_parameter_alignment_on_call
- vertical_whitespace_closing_braces
- type_body_length
- anonymous_argument_in_multiline_closure
- async_without_await
- conditional_returns_on_newline
- contrasted_opening_brace
- convenience_type
- discouraged_optional_collection
- explicit_acl
- explicit_enum_raw_value
- explicit_top_level_acl
- explicit_type_interface
- file_types_order
- force_unwrapping
- function_default_parameter_at_end
- indentation_width
- missing_docs
- multiline_arguments
- multiline_arguments_brackets
- multiline_function_chains
- multiline_parameters_brackets
- no_extension_access_modifier
- no_grouping_extension
- no_magic_numbers
- one_declaration_per_file
- prefer_key_path # Re-enable once we are on Swift 6.
- prefer_nimble
- prefixed_toplevel_constant
- required_deinit
- sorted_enum_cases
- strict_fileprivate
- switch_case_on_newline
- todo
- trailing_closure
- type_contents_order
- vertical_whitespace_between_cases
- inclusive_language