aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.json
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2018-07-08 12:21:37 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2018-07-08 12:21:37 +0300
commit4d2b29abcbe0f61cdf89af0d92cec0003d325a81 (patch)
tree2498c46e3b85d176c9b35e88c248e07b5f16b63f /.eslintrc.json
parent28401018a84cb1d526ab334ecdf44584a064bb6a (diff)
downloadrspamd-4d2b29abcbe0f61cdf89af0d92cec0003d325a81.tar.gz
rspamd-4d2b29abcbe0f61cdf89af0d92cec0003d325a81.zip
[Test] Specify JS Globals
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 2c32e16a7..32530cd18 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -3,6 +3,9 @@
"browser": true
},
"extends": "eslint:all",
+ "globals": {
+ "define": false
+ },
"rules": {
"array-bracket-newline": ["error", "consistent"],
"camelcase": "off",
@@ -76,7 +79,6 @@
"no-param-reassign": "off",
"no-redeclare": "off",
"no-shadow": "off",
- "no-undef": "off",
"no-underscore-dangle": "off",
"no-use-before-define": "off",
"one-var-declaration-per-line": "off",