Merge pull request #10 from TouchInstinct/fix/cyrillic
Fix Cyrillic rule
This commit is contained in:
commit
8ed4c2a8e5
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue