chore: linting

This commit is contained in:
taskylizard 2024-07-10 04:05:54 +00:00
parent 9f39e9663d
commit 048fa9e4a8
No known key found for this signature in database
GPG key ID: 1820131ED1A24120
8 changed files with 35 additions and 49 deletions

View file

@ -14,7 +14,7 @@ export const commitRef = process.env.CF_PAGES
}">${process.env.CF_PAGES_COMMIT_SHA.slice(0, 8)}</a>`
: 'dev'
export const feedback = `<a href="/feedback" class="feedback-footer">Made with ❤</a>`
export const feedback = `<a href="/feedback" class="feedback-footer">Made with ❤</a>`
export const search: DefaultTheme.Config['search'] = {
options: {
@ -22,6 +22,7 @@ export const search: DefaultTheme.Config['search'] = {
options: {
tokenize: (text) => text.split(/[\n\r #%*,=/:;?[\]{}()&]+/u), // simplified charset: removed [-_.@] and non-english chars (diacritics etc.)
processTerm: (term, fieldName) => {
// biome-ignore lint/style/noParameterAssign: h
term = term
.trim()
.toLowerCase()