This commit is contained in:
2026-11-02 12:42:04 +00:00
commit e4e28174bf
5498 changed files with 1735888 additions and 0 deletions

14
node_modules/svelte-eslint-parser/lib/parser/sort.js generated vendored Normal file
View File

@@ -0,0 +1,14 @@
/**
* Sort tokens
*/
export function sortNodes(tokens) {
if (!tokens) {
return [];
}
return tokens.sort((a, b) => {
if (a.range[0] !== b.range[0]) {
return a.range[0] - b.range[0];
}
return a.range[1] - b.range[1];
});
}