-
Notifications
You must be signed in to change notification settings - Fork 6
/
.swiftlint.yml
40 lines (34 loc) · 964 Bytes
/
.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
included:
- iOS/Multiplatform Redux Sample/Multiplatform Redux Sample
- iOS/Multiplatform Redux Sample/Multiplatform Redux SampleUITests
- iOS/Multiplatform Redux Sample/Multiplatform Redux SampleTests
# Paths to ignore during linting.
excluded:
- fastlane
- Localization
- Pods
- Tests
# See all available rules with 'swiftlint rules' or 'swiftlint generate-docs > swiftlint-docs.md'.
opt_in_rules:
# - empty_count
- closure_spacing
- closure_end_indentation
- conditional_returns_on_newline
- contains_over_first_not_nil
- empty_string
- force_unwrapping
- let_var_whitespace
- redundant_nil_coalescing
- yoda_condition
disabled_rules:
- identifier_name # Example: Variable name should only contain alphanumeric characters: 'fileName_01'
- trailing_comma
line_length:
warning: 140
error: 220
ignores_comments: true
ignores_urls: true
# Set output type.
reporter: "xcode"
force_cast: warning
force_try: warning