forked from fjcaetano/ReCaptcha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
49 lines (45 loc) · 1.01 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
excluded:
- Carthage
- Example/Pods
- vendor
disabled_rules:
- nesting
- opening_brace
- statement_position
- weak_delegate
opt_in_rules:
- array_init
- closure_end_indentation
- closure_spacing
- contains_over_first_not_nil
- empty_count
- explicit_init
- explicit_top_level_acl
- extension_access_modifier
- fatal_error_message
- file_header
- first_where
- force_unwrapping
- implicit_return
- let_var_whitespace
- literal_expression_end_indentation
- multiline_arguments
- multiple_closures_with_trailing_closure
- operator_usage_whitespace
- redundant_nil_coalescing
- single_test_class
- sorted_imports
- trailing_closure:
- only_single_muted_parameter
- unneeded_parentheses_in_closure_argument
vertical_whitespace:
max_empty_lines: 2
file_header:
required_pattern: |
\/\/
\/\/ .*?\.swift
\/\/ ReCaptcha
\/\/
\/\/ Created by .*? on \d{1,2}\/\d{1,2}\/\d{2}\.
\/\/ Copyright © 2021 ReCaptcha\. All rights reserved\.
\/\/