mirror of
https://github.com/fmhy/edit.git
synced 2026-02-07 11:41:05 +11:00
chore: linting
This commit is contained in:
parent
9f39e9663d
commit
048fa9e4a8
8 changed files with 35 additions and 49 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue