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

src/parser/parser-options.ts

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy