From e051d4d0297befcecf8638c3f20ff39bcdde979f Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Sat, 27 Feb 2021 12:44:20 +0100 Subject: [PATCH] Enable the `no-var` linting rule in `src/core/ccitt_stream.js` --- src/core/ccitt_stream.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/ccitt_stream.js b/src/core/ccitt_stream.js index 6eab57ae3..ced509334 100644 --- a/src/core/ccitt_stream.js +++ b/src/core/ccitt_stream.js @@ -12,13 +12,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -/* eslint-disable no-var */ import { Dict, isDict } from "./primitives.js"; import { CCITTFaxDecoder } from "./ccitt.js"; import { DecodeStream } from "./stream.js"; -var CCITTFaxStream = (function CCITTFaxStreamClosure() { +const CCITTFaxStream = (function CCITTFaxStreamClosure() { // eslint-disable-next-line no-shadow function CCITTFaxStream(str, maybeLength, params) { this.str = str;