Merge pull request #9 from TouchInstinct/fix/swiftlint_custom_rules

disabled_rules - rename variable_name to identifier_name and remove s…
This commit is contained in:
Nikolai Ashanin 2017-07-12 04:20:57 +03:00 committed by GitHub
commit 6618de941d
1 changed files with 3 additions and 2 deletions

View File

@ -1,8 +1,9 @@
disabled_rules:
- variable_name
- identifier_name
excluded:
- Carthage
- Pods
line_length: 128
type_body_length:
- 500 # warning
@ -129,6 +130,6 @@ custom_rules:
simple_ban:
name: "Simple type name"
regex: '(class|struct)(.)+[sS]imple(.)+{'
regex: '(class|struct)(.)+[sS]imple(.)+\{'
message: "Don't use 'simple' in type name, use 'default' or 'base' instead"
severity: warning