From a030b2a5101acb4ce95ebdbd70d1f4c2ca13e899 Mon Sep 17 00:00:00 2001 From: yigencong Date: Tue, 27 Feb 2024 20:05:55 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=B7=BB=E5=8A=A0=E6=B3=A8?= =?UTF-8?q?=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.json | 2 +- sort/test.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 6c87571..e701d15 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -4,7 +4,7 @@ "es2021": true }, "extends": ["airbnb-base"], - "plugins": ["prettier"], + "plugins": ["prettier"], // 配合prettier "parserOptions": { "ecmaVersion": "latest", "sourceType": "module" diff --git a/sort/test.mjs b/sort/test.mjs index 626da8e..0a44139 100644 --- a/sort/test.mjs +++ b/sort/test.mjs @@ -1,4 +1,4 @@ -import { generateRandomArray, measureTime} from '../util/index.mjs'; +import { generateRandomArray, measureTime } from '../util/index.mjs'; import { shellSort } from './shell-sort.mjs'; import insertionSort from './insertion-sort.mjs'; import { bubbleSort } from './bubble-sort.mjs';