Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
fix: add sourceType: 'module' by default in js config
Browse files Browse the repository at this point in the history
since we mostly use es6 code, this would display errors
  • Loading branch information
nicolassutter committed Jun 21, 2023
1 parent df988df commit 0aa5f44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/javascript/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ export = defineConfig({
'../common'
],
parserOptions: {
ecmaVersion: 'latest'
ecmaVersion: 'latest',
sourceType: 'module',
},
env: {
node: true,
Expand Down

0 comments on commit 0aa5f44

Please sign in to comment.