Skip to content

Commit

Permalink
Disable prettier on one line that varies by node version
Browse files Browse the repository at this point in the history
  • Loading branch information
mrseanryan committed May 24, 2024
1 parent 40282c8 commit 399c0ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parser/export.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ export const extractExportNames = (path: string, node: ts.Node): string[] => {
switch (node.kind) {
case ts.SyntaxKind.VariableStatement:
return parseExportNames(
// prettier-ignore
(
node as ts.VariableStatement
).declarationList.declarations[0].name.getText(),
Expand Down

0 comments on commit 399c0ee

Please sign in to comment.