Skip to content

Commit

Permalink
Complete migration to ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
sonnyp committed Dec 20, 2024
1 parent 3b9114e commit 1368c1f
Show file tree
Hide file tree
Showing 86 changed files with 294 additions and 371 deletions.
19 changes: 12 additions & 7 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default [
jsx: true,
},
},
sourceType: "commonjs",
sourceType: "module",
},

rules: {
Expand Down Expand Up @@ -78,14 +78,19 @@ export default [
"unicorn/prefer-event-target": 0,
"unicorn/prefer-top-level-await": 0,
"unicorn/prefer-node-protocol": 0,
"unicorn/prefer-export-from": "off",
},
},
{
files: ["packages/client/**/*.js"],
languageOptions: {
sourceType: "module",
},
},
// {
// files: [
// "packages/client/**/*.js",
// "packages/events/**/*.js",
// "packages/base64/**/*.js",
// ],
// languageOptions: {
// sourceType: "module",
// },
// },
{
files: ["**/*.spec.js", "**/*.test.js", "**/test.js", "**/test/**.js"],
plugins: { jest: pluginJest },
Expand Down
Loading

0 comments on commit 1368c1f

Please sign in to comment.