๐Ÿ“ฆ techouse / qs-swift

๐Ÿ“„ .swiftlint.yml ยท 63 lines
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
63included:
  - Sources

excluded:
  - .build
  - .swiftpm
  - .history
  - DerivedData
  - Bench
  - ObjCE2ETests
  - Tests
  - Tools

disabled_rules:
  - trailing_whitespace
  - opening_brace
  - cyclomatic_complexity
  - function_body_length
  - type_body_length

opt_in_rules:
  - empty_count
  - force_unwrapping
  - closure_end_indentation

analyzer_rules:
  - unused_declaration
  - unused_import

trailing_comma:
  mandatory_comma: true

line_length:
  warning: 120
  error: 120
  ignores_comments: true
  ignores_urls: true
  ignores_interpolated_strings: true
  ignores_multiline_strings: true

identifier_name:
  min_length: 2
  allowed_symbols: "_"
  validates_start_with_lowercase: off
  excluded:
    - a
    - b
    - i
    - j
    - k
    - l
    - r
    - x
    - y
    - id

type_name:
  excluded:
    - Qs
    - _AnySendableBox
    - _BlockBox
    - _UnsafeSendable