Merge pull request #10 from TouchInstinct/fix/cyrillic

Fix Cyrillic rule
This commit is contained in:
Nikolai Ashanin 2017-07-12 18:21:35 +03:00 committed by GitHub
commit 8ed4c2a8e5
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"