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';