[update] migrate the project formatter from prettier and eslint to biome

This commit is contained in:
PrinOrange
2024-08-14 12:57:22 +08:00
parent 009be6e7d9
commit 81de437888
61 changed files with 480 additions and 3865 deletions

View File

@@ -23,7 +23,7 @@ function tokenizer(str: string) {
function makeSearchIndex() {
const startTime = Date.now();
let miniSearch = new minisearch({
const miniSearch = new minisearch({
fields: ["id", "title", "tags", "subtitle", "summary", "content"],
storeFields: ["id", "title", "tags", "summary"],
tokenize: tokenizer,