summaryrefslogtreecommitdiff
path: root/tools/eslint/conf/eslint-all.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eslint/conf/eslint-all.js')
-rw-r--r--tools/eslint/conf/eslint-all.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/eslint/conf/eslint-all.js b/tools/eslint/conf/eslint-all.js
index 28d745a921..43db54fb71 100644
--- a/tools/eslint/conf/eslint-all.js
+++ b/tools/eslint/conf/eslint-all.js
@@ -10,7 +10,8 @@
//------------------------------------------------------------------------------
const load = require("../lib/load-rules"),
- rules = require("../lib/rules");
+ Rules = require("../lib/rules");
+const rules = new Rules();
//------------------------------------------------------------------------------
// Helpers