Skip to content

Commit

Permalink
Swap to sourceType: 'module' for sku compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronMoat committed Sep 8, 2024
1 parent ebd092b commit 137719c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/friendly-geckos-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'eslint-config-seek': minor
---

Babel now treats all Javascript files to have a [`sourceType`](https://babeljs.io/docs/options#sourcetype) of `module` (previously `script`).
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module.exports = [
},

ecmaVersion: 6,
sourceType: 'script',
sourceType: 'module',

parserOptions: {
babelOptions: {
Expand Down

0 comments on commit 137719c

Please sign in to comment.