aboutsummaryrefslogtreecommitdiff
path: root/juick-www/.eslintrc
diff options
context:
space:
mode:
authorGravatar KillyMXI2017-07-16 03:40:07 +0300
committerGravatar KillyMXI2017-07-17 15:07:27 +0300
commitfef044fc57d223d8923db9b68d2c74cbf20e77bf (patch)
treec3c4d924532fbeec936e183d545cc55bc1cd9fde /juick-www/.eslintrc
parent3c1fb681903cb3ed5c1a02d8ce67ed1b376771ef (diff)
www: eslint-plugin-only-ascii
force i18n in js
Diffstat (limited to 'juick-www/.eslintrc')
-rw-r--r--juick-www/.eslintrc5
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"]
}
}