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:
Nikolay Aksenov 2017-07-11 21:00:17 +03:00
parent e86a6710e5
commit 7085ed3643
1 changed files with 2 additions and 7 deletions

View File

@ -1,8 +1,9 @@
disabled_rules:
- variable_name
- identifier_name
excluded:
- Carthage
- Pods
line_length: 128
type_body_length:
- 500 # warning
@ -126,9 +127,3 @@ custom_rules:
message: "Localize or translate"
severity: error
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