diff options
author | KillyMXI | 2017-07-16 03:40:07 +0300 |
---|---|---|
committer | KillyMXI | 2017-07-17 15:07:27 +0300 |
commit | fef044fc57d223d8923db9b68d2c74cbf20e77bf (patch) | |
tree | c3c4d924532fbeec936e183d545cc55bc1cd9fde /juick-www/.eslintrc | |
parent | 3c1fb681903cb3ed5c1a02d8ce67ed1b376771ef (diff) |
www: eslint-plugin-only-ascii
force i18n in js
Diffstat (limited to 'juick-www/.eslintrc')
-rw-r--r-- | juick-www/.eslintrc | 5 |
1 files changed, 4 insertions, 1 deletions
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"] } } |