Fix Cyrillic rule

This commit is contained in:
Ivan Zinovyev 2017-07-12 18:12:33 +03:00
parent 6618de941d
commit 2dcb45b24e
1 changed files with 4 additions and 2 deletions

View File

@ -123,10 +123,12 @@ custom_rules:
cyrillic_strings:
name: "Cyrillic strings"
regex: '[а,А-Я]+'
regex: '[аА-Я]+'
message: "Localize or translate"
severity: error
match_kinds: string
match_kinds:
- identifier
- string
simple_ban:
name: "Simple type name"