Merge pull request #19 from TouchInstinct/fix/simple-ban

Remove simple_ban rule
This commit is contained in:
Igor Kislyuk 2017-10-03 12:14:24 +03:00 committed by GitHub
commit 33594c4aa5
2 changed files with 5 additions and 6 deletions

View File

@ -147,9 +147,3 @@ custom_rules:
match_kinds:
- identifier
- 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

5
README.md Normal file
View File

@ -0,0 +1,5 @@
# iOS code-quality
## 3.10.2017
- Remove `simple_ban` rule due to swiftlint working with regex bug.