Skip to content

Commit deb5f6b

Browse files
committed
fix lint
1 parent f05a9e7 commit deb5f6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/parser/parser-options.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const TS_PARSER_NAMES = [
6565

6666
export function isTypeScript(
6767
parserOptions: NormalizedParserOptions,
68-
lang: string | undefined
68+
lang: string | undefined,
6969
): boolean {
7070
if (!lang) {
7171
return false;
@@ -88,7 +88,7 @@ export function isTypeScript(
8888
if (fs.existsSync(pkgPath)) {
8989
try {
9090
return TS_PARSER_NAMES.includes(
91-
JSON.parse(fs.readFileSync(pkgPath, "utf-8"))?.name
91+
JSON.parse(fs.readFileSync(pkgPath, "utf-8"))?.name,
9292
);
9393
} catch {
9494
return false;

0 commit comments

Comments
 (0)