Skip to content

Commit 2c5ef78

Browse files
author
ordo-ci
committed
ci: 🔄 synced local '.swiftlint.yml' with remote 'dotfiles/swiftlint.yml'
1 parent 655f27f commit 2c5ef78

1 file changed

Lines changed: 94 additions & 1 deletion

File tree

‎.swiftlint.yml‎

Lines changed: 94 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,95 @@
1+
####################################################################
2+
# DO NOT EDIT THIS FILE
3+
# This is a master file maintained in https://github.com/ordo-one/public-repository-templates
4+
#
5+
# Add overrides into `swiftlint_refinement.yml` in the directory it self or
6+
# .swiftlint.yml under the specific directory where the code is located
7+
#
8+
# Documentation is under https://github.com/realm/SwiftLint
9+
####################################################################
10+
111
child_config: .swiftlint_refinement.yml
2-
parent_config: .swiftlint_base.yml
12+
13+
included:
14+
- Benchmarks
15+
- Sources
16+
- Tests
17+
excluded:
18+
analyzer_rules:
19+
- unused_import
20+
opt_in_rules:
21+
- array_init
22+
- attributes
23+
- closure_end_indentation
24+
- closure_spacing
25+
- collection_alignment
26+
- contains_over_filter_count
27+
- contains_over_filter_is_empty
28+
- contains_over_first_not_nil
29+
- contains_over_range_nil_comparison
30+
- discouraged_none_name
31+
- discouraged_object_literal
32+
- empty_collection_literal
33+
- empty_count
34+
- empty_string
35+
- empty_xctest_method
36+
- enum_case_associated_values_count
37+
- explicit_init
38+
- extension_access_modifier
39+
- fallthrough
40+
- fatal_error_message
41+
- file_name
42+
- first_where
43+
- flatmap_over_map_reduce
44+
- identical_operands
45+
- joined_default_parameter
46+
- last_where
47+
- legacy_multiple
48+
- literal_expression_end_indentation
49+
- lower_acl_than_parent
50+
- modifier_order
51+
- nimble_operator
52+
- nslocalizedstring_key
53+
- number_separator
54+
- object_literal
55+
- operator_usage_whitespace
56+
- overridden_super_call
57+
- override_in_extension
58+
- pattern_matching_keywords
59+
- prefer_self_in_static_references
60+
- prefer_self_type_over_type_of_self
61+
- private_action
62+
- private_outlet
63+
- prohibited_interface_builder
64+
- prohibited_super_call
65+
- quick_discouraged_call
66+
- quick_discouraged_focused_test
67+
- quick_discouraged_pending_test
68+
- reduce_into
69+
- redundant_nil_coalescing
70+
- redundant_type_annotation
71+
- single_test_class
72+
- sorted_first_last
73+
- sorted_imports
74+
- static_operator
75+
- strong_iboutlet
76+
- test_case_accessibility
77+
- toggle_bool
78+
- unavailable_function
79+
- unneeded_parentheses_in_closure_argument
80+
- unowned_variable_capture
81+
- untyped_error_in_catch
82+
- vertical_parameter_alignment_on_call
83+
- vertical_whitespace_closing_braces
84+
- vertical_whitespace_opening_braces
85+
- xct_specific_matcher
86+
- yoda_condition
87+
line_length:
88+
warning: 140
89+
error: 140
90+
ignores_comments: true
91+
ignores_urls: true
92+
ignores_function_declarations: true
93+
ignores_interpolated_strings: true
94+
identifier_name:
95+
excluded: [id, i, j, k]

0 commit comments

Comments
 (0)