Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions apps/oxlint/src-js/plugins/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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);

Expand Down
Loading