fix: lint

This commit is contained in:
xingyu4j
2026-03-13 20:58:07 +08:00
parent a850d426ef
commit de0181e0d9
6 changed files with 18 additions and 10 deletions

View File

@@ -5,7 +5,6 @@ import { readdirSync } from 'node:fs';
import { join } from 'node:path';
export const rawPathRegexp =
// eslint-disable-next-line regexp/no-super-linear-backtracking, regexp/strict
/^(.+?(?:\.([\da-z]+))?)(#[\w-]+)?(?: ?{(\d+(?:[,-]\d+)*)? ?(\S+)?})? ?(?:\[(.+)])?$/;
function rawPathToToken(rawPath: string) {