From fef044fc57d223d8923db9b68d2c74cbf20e77bf Mon Sep 17 00:00:00 2001 From: KillyMXI Date: Sun, 16 Jul 2017 03:40:07 +0300 Subject: www: eslint-plugin-only-ascii force i18n in js --- juick-www/.eslintrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'juick-www/.eslintrc') diff --git a/juick-www/.eslintrc b/juick-www/.eslintrc index 1af934cd..5328a00b 100644 --- a/juick-www/.eslintrc +++ b/juick-www/.eslintrc @@ -19,6 +19,7 @@ // Enable custom plugin known as eslint-plugin-react "plugins": [ // "react" + "only-ascii" ], // http://eslint.org/docs/rules/ "rules": { @@ -52,6 +53,8 @@ "no-cond-assign": "off", "no-sparse-arrays": "off", "no-unused-vars": "off", - "no-useless-escape": "off" + "no-useless-escape": "off", + + "only-ascii/only-ascii": ["warn", { "allowedChars": "✓" }] // "excludePaths": ["i18n.js"] } } -- cgit v1.2.3