add eslint

This commit is contained in:
nora 2023-07-31 14:11:51 +02:00
parent e951cd5ee1
commit 12fcc4f1bb
11 changed files with 1237 additions and 26 deletions

View file

@ -251,7 +251,7 @@ export function tokenize(input: string): Token[] {
i++;
}
const ident = input.slice(span.start, span.end);
let kw = isKeyword(ident);
const kw = isKeyword(ident);
if (kw) {
tokens.push({ kind: kw, span });
} else {