From 22e0ed51c648e28f67621520388044b81cdadee4 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Sat, 13 Mar 2021 11:50:11 +0100 Subject: [PATCH] Remove unnecessary `/* eslint no-var: error */` lines in the `test/unit/` folder (PR 12528 follow-up) These lines are no longer needed, since the ESLint `no-var` rule has been enabled in the entire folder. --- test/unit/display_utils_spec.js | 1 - test/unit/fetch_stream_spec.js | 1 - test/unit/parser_spec.js | 1 - 3 files changed, 3 deletions(-) diff --git a/test/unit/display_utils_spec.js b/test/unit/display_utils_spec.js index 175226b11..275263265 100644 --- a/test/unit/display_utils_spec.js +++ b/test/unit/display_utils_spec.js @@ -12,7 +12,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -/* eslint no-var: error */ import { DOMCanvasFactory, diff --git a/test/unit/fetch_stream_spec.js b/test/unit/fetch_stream_spec.js index 3a4477b22..d819b2c6d 100644 --- a/test/unit/fetch_stream_spec.js +++ b/test/unit/fetch_stream_spec.js @@ -12,7 +12,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -/* eslint no-var: error */ import { AbortException } from "../../src/shared/util.js"; import { PDFFetchStream } from "../../src/display/fetch_stream.js"; diff --git a/test/unit/parser_spec.js b/test/unit/parser_spec.js index 98f2e4365..15c163133 100644 --- a/test/unit/parser_spec.js +++ b/test/unit/parser_spec.js @@ -12,7 +12,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -/* eslint no-var: error */ import { Lexer, Linearization, Parser } from "../../src/core/parser.js"; import { FormatError } from "../../src/shared/util.js";