fix regexp

This commit is contained in:
Nikolay Aksenov 2017-07-11 21:11:46 +03:00
parent 7085ed3643
commit 91d8c31c04
1 changed files with 6 additions and 0 deletions

View File

@ -127,3 +127,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