disabled_rules - rename variable_name to identifier_name and remove simple_ban because regex doesnt work at swiftlint version 0.20.1
This commit is contained in:
parent
e86a6710e5
commit
7085ed3643
|
|
@ -1,8 +1,9 @@
|
||||||
disabled_rules:
|
disabled_rules:
|
||||||
- variable_name
|
- identifier_name
|
||||||
excluded:
|
excluded:
|
||||||
- Carthage
|
- Carthage
|
||||||
- Pods
|
- Pods
|
||||||
|
|
||||||
line_length: 128
|
line_length: 128
|
||||||
type_body_length:
|
type_body_length:
|
||||||
- 500 # warning
|
- 500 # warning
|
||||||
|
|
@ -126,9 +127,3 @@ custom_rules:
|
||||||
message: "Localize or translate"
|
message: "Localize or translate"
|
||||||
severity: error
|
severity: error
|
||||||
match_kinds: string
|
match_kinds: string
|
||||||
|
|
||||||
simple_ban:
|
|
||||||
name: "Simple type name"
|
|
||||||
regex: '(class|struct)(.)+[sS]imple(.)+{'
|
|
||||||
message: "Don't use 'simple' in type name, use 'default' or 'base' instead"
|
|
||||||
severity: warning
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue