From fc6ea3facfdccc32612f58ca84e4d0cb8a63f26c Mon Sep 17 00:00:00 2001 From: Alexey Gerasimov Date: Tue, 30 May 2017 15:09:07 +0300 Subject: [PATCH] #5 Fixed --- .swiftlint.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.swiftlint.yml b/.swiftlint.yml index 4e7c640..c958301 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -126,3 +126,9 @@ 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