Skip to content

Commit ef985dc

Browse files
committed
add todo for countOptions and afterCount for getTokens()
1 parent e003cee commit ef985dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/oxlint/src-js/plugins/tokens.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ export function getTokens(
8787
afterCount?: number | null,
8888
): Token[] {
8989
if (tokens === null) initTokens();
90+
// TODO: Implement `countOptions` and `afterCount`.
9091
return tokens.filter((token) => token.range[0] >= node.range[0] && token.range[1] <= node.range[1]);
9192
}
9293
/* oxlint-enable no-unused-vars */

0 commit comments

Comments
 (0)