diff --git a/benchmark/index.js b/benchmark/index.js index 527e5ea..8eba660 100644 --- a/benchmark/index.js +++ b/benchmark/index.js @@ -67,6 +67,7 @@ $("#run").click(() => { }; if (isNaN(runCount) || runCount <= 0) { + // eslint-disable-next-line no-alert alert("Number of runs must be a positive integer."); return; diff --git a/benchmark/runner.js b/benchmark/runner.js index dbd2100..12e3ec7 100644 --- a/benchmark/runner.js +++ b/benchmark/runner.js @@ -1,7 +1,5 @@ "use strict"; -/* global setTimeout */ - let peg = require("../lib/peg"); let Runner = { diff --git a/benchmark/server b/benchmark/server index 3dbcb46..0febae5 100755 --- a/benchmark/server +++ b/benchmark/server @@ -32,5 +32,6 @@ app.get("/bundle.js", (req, res) => { }); app.listen(8000, () => { + // eslint-disable-next-line no-console console.log("Benchmark server running at http://localhost:8000..."); }); diff --git a/test/api/generated-parser-api.spec.js b/test/api/generated-parser-api.spec.js index 23cc461..936037c 100644 --- a/test/api/generated-parser-api.spec.js +++ b/test/api/generated-parser-api.spec.js @@ -1,7 +1,6 @@ +/* eslint-disable no-console */ "use strict"; -/* global console */ - let chai = require("chai"); let peg = require("../../lib/peg"); let sinon = require("sinon"); diff --git a/test/behavior/generated-parser-behavior.spec.js b/test/behavior/generated-parser-behavior.spec.js index cb71b99..9c182de 100644 --- a/test/behavior/generated-parser-behavior.spec.js +++ b/test/behavior/generated-parser-behavior.spec.js @@ -1,7 +1,6 @@ +/* eslint-disable no-console */ "use strict"; -/* global console */ - let chai = require("chai"); let peg = require("../../lib/peg"); let sinon = require("sinon");