From 2dcb45b24ee381d780d3c70e6c53e774ac4cb981 Mon Sep 17 00:00:00 2001 From: Ivan Zinovyev Date: Wed, 12 Jul 2017 18:12:33 +0300 Subject: [PATCH] Fix Cyrillic rule --- .swiftlint.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.swiftlint.yml b/.swiftlint.yml index eea7996..cd926c2 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -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"