From 7342fd401f1a14615822d8686f962444a4863a28 Mon Sep 17 00:00:00 2001 From: ehmicky Date: Thu, 31 Oct 2024 04:49:51 +0000 Subject: [PATCH] Fix linting --- benchmark/tasks.js | 2 +- src/helpers/strings.test.js | 2 +- src/main.test-d.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmark/tasks.js b/benchmark/tasks.js index 9eda00e..798cfa2 100644 --- a/benchmark/tasks.js +++ b/benchmark/tasks.js @@ -1,5 +1,5 @@ // eslint-disable-next-line no-shadow -import { Buffer, Blob } from 'node:buffer' +import { Blob, Buffer } from 'node:buffer' import { getNodeByteLength } from '../src/buffer.js' import { getCharCodeByteLength } from '../src/char_code.js' diff --git a/src/helpers/strings.test.js b/src/helpers/strings.test.js index 092d077..27a8ef5 100644 --- a/src/helpers/strings.test.js +++ b/src/helpers/strings.test.js @@ -1,4 +1,4 @@ -import { TEXT_ENCODER_MIN_LENGTH, CACHE_MAX_MEMORY } from '../encoder.js' +import { CACHE_MAX_MEMORY, TEXT_ENCODER_MIN_LENGTH } from '../encoder.js' // All characters being tested const CHARACTERS = [ diff --git a/src/main.test-d.ts b/src/main.test-d.ts index ca2831a..beca4d5 100644 --- a/src/main.test-d.ts +++ b/src/main.test-d.ts @@ -1,4 +1,4 @@ -import { expectType, expectNotType } from 'tsd' +import { expectNotType, expectType } from 'tsd' import stringByteLength from 'string-byte-length'