forked from auth0/Auth0.swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
33 lines (32 loc) · 983 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
opt_in_rules: # some rules are only opt-in
- empty_count
# Find all the available rules by running:
# swiftlint rules
included: # paths to include during linting. `--path` is ignored if present.
- Auth0
excluded: # paths to ignore during linting. Takes precedence over `included`.
- Carthage
- Pods
# configurable rules can be customized from this configuration file
# rules that have both warning and error levels, can set just the warning level
# implicitly
line_length: 500
# they can set both implicitly with an array
type_body_length:
- 300 # warning
- 400 # error
type_name:
min_length: 3 # only warning
identifier_name:
min_length: # only min_length
warning: 3 # only error
excluded: # No regex support available for this
- id
- a0_isAuthenticationError
- a0_isManagementError
- a0_fragmentValues
- a0_queryValues
- Code
- WebLink
- AndroidLink
reporter: "xcode" # reporter type (xcode, json, csv, checkstyle, junit)