diff --git a/apps/oxlint/src-js/plugins/context.ts b/apps/oxlint/src-js/plugins/context.ts index 10a30f56da338..11748bfbadc98 100644 --- a/apps/oxlint/src-js/plugins/context.ts +++ b/apps/oxlint/src-js/plugins/context.ts @@ -141,7 +141,6 @@ const PARSER_OPTIONS = Object.freeze({ get sourceType(): ModuleKind { // TODO: Would be better to get `sourceType` without deserializing whole AST, // in case it's used in `create` to return an empty visitor if wrong type. - // TODO: ESLint also has `commonjs` option. if (ast === null) initAst(); debugAssertIsNonNull(ast); @@ -157,7 +156,6 @@ const LANGUAGE_OPTIONS = { get sourceType(): ModuleKind { // TODO: Would be better to get `sourceType` without deserializing whole AST, // in case it's used in `create` to return an empty visitor if wrong type. - // TODO: ESLint also has `commonjs` option. if (ast === null) initAst(); debugAssertIsNonNull(ast);