style: 完成所有文件的lint

This commit is contained in:
claude-code-best
2026-05-01 21:39:30 +08:00
parent d136872cc9
commit 6182015005
1333 changed files with 68255 additions and 77882 deletions

View File

@@ -242,7 +242,7 @@ export class FileIndex {
prevCode === 45 || // -
prevCode === 95 || // _
prevCode === 46 || // .
prevCode === 32 // space
prevCode === 32 // space
) {
startPositions[startCount++] = bp
}
@@ -261,7 +261,10 @@ export class FileIndex {
let matched = true
for (let j = 1; j < nLen; j++) {
const pos = haystack.indexOf(needleChars[j]!, prev + 1)
if (pos === -1) { matched = false; break }
if (pos === -1) {
matched = false
break
}
posBuf[j] = pos
const gap = pos - prev - 1
if (gap === 0) consecBonus += BONUS_CONSECUTIVE