Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: test_runner.js

Issue 29375915: Issue 4878 - Start using ESLint for adblockpluscore (Closed)
Patch Set: Addressed Wladimir's comments Created March 8, 2017, 12:28 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/synchronizer.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test_runner.js
diff --git a/test_runner.js b/test_runner.js
index b8b4d1c625aaeaff2576dfa9f0a59971da700b18..965149da5ea6c2857a28b3d14615bf77d93af799 100644
--- a/test_runner.js
+++ b/test_runner.js
@@ -15,15 +15,17 @@
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
+/* eslint-env node */
+
"use strict";
-let childProcess = require("child_process");
-let fs = require("fs");
-let nodeunit = require("nodeunit");
-let path = require("path");
-let phantomjs = require("phantomjs2");
-let process = require("process");
-let url = require("url");
+const childProcess = require("child_process");
+const fs = require("fs");
+const nodeunit = require("nodeunit");
+const path = require("path");
+const phantomjs = require("phantomjs2");
+const process = require("process");
+const url = require("url");
let unitFiles = [];
let browserFiles = [];
« no previous file with comments | « test/synchronizer.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld