Skip to content

Commit

Permalink
chore: run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Hebilicious committed Mar 28, 2024
1 parent 6ec115c commit fbadc58
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/houdini/src/lib/parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ export type ParsedFile = Maybe<{ script: Script; start: number; end: number }>
// overload definitions
export function parseJS(str: string, config?: Partial<ParserOptions>): Script {
const defaultConfig: ParserOptions = {
plugins: ['typescript', 'importAssertions', 'decorators-legacy', 'explicitResourceManagement'],
plugins: [
'typescript',
'importAssertions',
'decorators-legacy',
'explicitResourceManagement',
],
sourceType: 'module',
}
// @ts-ignore: babel doesn't perfectly match recast's types (the comments don't line up)
Expand Down

0 comments on commit fbadc58

Please sign in to comment.